1baa3858d3f5d128a5c8466b700098109edcad5f2repo sync/* Types.h -- Basic types 2baa3858d3f5d128a5c8466b700098109edcad5f2repo sync2010-10-09 : Igor Pavlov : Public domain */ 3baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 4baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifndef __7Z_TYPES_H 5baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define __7Z_TYPES_H 6baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 7baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#include <stddef.h> 8baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 9baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef _WIN32 10baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#include <windows.h> 11baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 12baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 13baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifndef EXTERN_C_BEGIN 14baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef __cplusplus 15baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define EXTERN_C_BEGIN extern "C" { 16baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define EXTERN_C_END } 17baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 18baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define EXTERN_C_BEGIN 19baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define EXTERN_C_END 20baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 21baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 22baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 23baa3858d3f5d128a5c8466b700098109edcad5f2repo syncEXTERN_C_BEGIN 24baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 25baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_OK 0 26baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 27baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_DATA 1 28baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_MEM 2 29baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_CRC 3 30baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_UNSUPPORTED 4 31baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_PARAM 5 32baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_INPUT_EOF 6 33baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_OUTPUT_EOF 7 34baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_READ 8 35baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_WRITE 9 36baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_PROGRESS 10 37baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_FAIL 11 38baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_THREAD 12 39baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 40baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_ARCHIVE 16 41baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define SZ_ERROR_NO_ARCHIVE 17 42baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 43baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef int SRes; 44baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 45baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef _WIN32 46baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef DWORD WRes; 47baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 48baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef int WRes; 49baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 50baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 51baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifndef RINOK 52baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define RINOK(x) { int __result__ = (x); if (__result__ != 0) return __result__; } 53baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 54baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 55baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef unsigned char Byte; 56baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef short Int16; 57baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef unsigned short UInt16; 58baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 59baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef _LZMA_UINT32_IS_ULONG 60baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef long Int32; 61baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef unsigned long UInt32; 62baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 63baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef int Int32; 64baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef unsigned int UInt32; 65baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 66baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 67baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef _SZ_NO_INT_64 68baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 69baa3858d3f5d128a5c8466b700098109edcad5f2repo sync/* define _SZ_NO_INT_64, if your compiler doesn't support 64-bit integers. 70baa3858d3f5d128a5c8466b700098109edcad5f2repo sync NOTES: Some code will work incorrectly in that case! */ 71baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 72baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef long Int64; 73baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef unsigned long UInt64; 74baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 75baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 76baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 77baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#if defined(_MSC_VER) || defined(__BORLANDC__) 78baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef __int64 Int64; 79baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef unsigned __int64 UInt64; 80baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define UINT64_CONST(n) n 81baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 82baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef long long int Int64; 83baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef unsigned long long int UInt64; 84baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define UINT64_CONST(n) n ## ULL 85baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 86baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 87baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 88baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 89baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef _LZMA_NO_SYSTEM_SIZE_T 90baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef UInt32 SizeT; 91baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 92baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef size_t SizeT; 93baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 94baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 95baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef int Bool; 96baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define True 1 97baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define False 0 98baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 99baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 100baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef _WIN32 101baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define MY_STD_CALL __stdcall 102baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 103baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define MY_STD_CALL 104baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 105baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 106baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef _MSC_VER 107baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 108baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#if _MSC_VER >= 1300 109baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define MY_NO_INLINE __declspec(noinline) 110baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 111baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define MY_NO_INLINE 112baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 113baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 114baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define MY_CDECL __cdecl 115baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define MY_FAST_CALL __fastcall 116baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 117baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 118baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 119baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define MY_CDECL 120baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define MY_FAST_CALL 121baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 122baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 123baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 124baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 125baa3858d3f5d128a5c8466b700098109edcad5f2repo sync/* The following interfaces use first parameter as pointer to structure */ 126baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 127baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 128baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 129baa3858d3f5d128a5c8466b700098109edcad5f2repo sync Byte (*Read)(void *p); /* reads one byte, returns 0 in case of EOF or error */ 130baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} IByteIn; 131baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 132baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 133baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 134baa3858d3f5d128a5c8466b700098109edcad5f2repo sync void (*Write)(void *p, Byte b); 135baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} IByteOut; 136baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 137baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 138baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 139baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SRes (*Read)(void *p, void *buf, size_t *size); 140baa3858d3f5d128a5c8466b700098109edcad5f2repo sync /* if (input(*size) != 0 && output(*size) == 0) means end_of_stream. 141baa3858d3f5d128a5c8466b700098109edcad5f2repo sync (output(*size) < input(*size)) is allowed */ 142baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} ISeqInStream; 143baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 144baa3858d3f5d128a5c8466b700098109edcad5f2repo sync/* it can return SZ_ERROR_INPUT_EOF */ 145baa3858d3f5d128a5c8466b700098109edcad5f2repo syncSRes SeqInStream_Read(ISeqInStream *stream, void *buf, size_t size); 146baa3858d3f5d128a5c8466b700098109edcad5f2repo syncSRes SeqInStream_Read2(ISeqInStream *stream, void *buf, size_t size, SRes errorType); 147baa3858d3f5d128a5c8466b700098109edcad5f2repo syncSRes SeqInStream_ReadByte(ISeqInStream *stream, Byte *buf); 148baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 149baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 150baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 151baa3858d3f5d128a5c8466b700098109edcad5f2repo sync size_t (*Write)(void *p, const void *buf, size_t size); 152baa3858d3f5d128a5c8466b700098109edcad5f2repo sync /* Returns: result - the number of actually written bytes. 153baa3858d3f5d128a5c8466b700098109edcad5f2repo sync (result < size) means error */ 154baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} ISeqOutStream; 155baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 156baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef enum 157baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 158baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SZ_SEEK_SET = 0, 159baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SZ_SEEK_CUR = 1, 160baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SZ_SEEK_END = 2 161baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} ESzSeek; 162baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 163baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 164baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 165baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SRes (*Read)(void *p, void *buf, size_t *size); /* same as ISeqInStream::Read */ 166baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin); 167baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} ISeekInStream; 168baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 169baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 170baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 171baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SRes (*Look)(void *p, const void **buf, size_t *size); 172baa3858d3f5d128a5c8466b700098109edcad5f2repo sync /* if (input(*size) != 0 && output(*size) == 0) means end_of_stream. 173baa3858d3f5d128a5c8466b700098109edcad5f2repo sync (output(*size) > input(*size)) is not allowed 174baa3858d3f5d128a5c8466b700098109edcad5f2repo sync (output(*size) < input(*size)) is allowed */ 175baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SRes (*Skip)(void *p, size_t offset); 176baa3858d3f5d128a5c8466b700098109edcad5f2repo sync /* offset must be <= output(*size) of Look */ 177baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 178baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SRes (*Read)(void *p, void *buf, size_t *size); 179baa3858d3f5d128a5c8466b700098109edcad5f2repo sync /* reads directly (without buffer). It's same as ISeqInStream::Read */ 180baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SRes (*Seek)(void *p, Int64 *pos, ESzSeek origin); 181baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} ILookInStream; 182baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 183baa3858d3f5d128a5c8466b700098109edcad5f2repo syncSRes LookInStream_LookRead(ILookInStream *stream, void *buf, size_t *size); 184baa3858d3f5d128a5c8466b700098109edcad5f2repo syncSRes LookInStream_SeekTo(ILookInStream *stream, UInt64 offset); 185baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 186baa3858d3f5d128a5c8466b700098109edcad5f2repo sync/* reads via ILookInStream::Read */ 187baa3858d3f5d128a5c8466b700098109edcad5f2repo syncSRes LookInStream_Read2(ILookInStream *stream, void *buf, size_t size, SRes errorType); 188baa3858d3f5d128a5c8466b700098109edcad5f2repo syncSRes LookInStream_Read(ILookInStream *stream, void *buf, size_t size); 189baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 190baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define LookToRead_BUF_SIZE (1 << 14) 191baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 192baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 193baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 194baa3858d3f5d128a5c8466b700098109edcad5f2repo sync ILookInStream s; 195baa3858d3f5d128a5c8466b700098109edcad5f2repo sync ISeekInStream *realStream; 196baa3858d3f5d128a5c8466b700098109edcad5f2repo sync size_t pos; 197baa3858d3f5d128a5c8466b700098109edcad5f2repo sync size_t size; 198baa3858d3f5d128a5c8466b700098109edcad5f2repo sync Byte buf[LookToRead_BUF_SIZE]; 199baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} CLookToRead; 200baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 201baa3858d3f5d128a5c8466b700098109edcad5f2repo syncvoid LookToRead_CreateVTable(CLookToRead *p, int lookahead); 202baa3858d3f5d128a5c8466b700098109edcad5f2repo syncvoid LookToRead_Init(CLookToRead *p); 203baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 204baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 205baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 206baa3858d3f5d128a5c8466b700098109edcad5f2repo sync ISeqInStream s; 207baa3858d3f5d128a5c8466b700098109edcad5f2repo sync ILookInStream *realStream; 208baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} CSecToLook; 209baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 210baa3858d3f5d128a5c8466b700098109edcad5f2repo syncvoid SecToLook_CreateVTable(CSecToLook *p); 211baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 212baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 213baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 214baa3858d3f5d128a5c8466b700098109edcad5f2repo sync ISeqInStream s; 215baa3858d3f5d128a5c8466b700098109edcad5f2repo sync ILookInStream *realStream; 216baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} CSecToRead; 217baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 218baa3858d3f5d128a5c8466b700098109edcad5f2repo syncvoid SecToRead_CreateVTable(CSecToRead *p); 219baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 220baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 221baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 222baa3858d3f5d128a5c8466b700098109edcad5f2repo sync SRes (*Progress)(void *p, UInt64 inSize, UInt64 outSize); 223baa3858d3f5d128a5c8466b700098109edcad5f2repo sync /* Returns: result. (result != SZ_OK) means break. 224baa3858d3f5d128a5c8466b700098109edcad5f2repo sync Value (UInt64)(Int64)-1 for size means unknown value. */ 225baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} ICompressProgress; 226baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 227baa3858d3f5d128a5c8466b700098109edcad5f2repo synctypedef struct 228baa3858d3f5d128a5c8466b700098109edcad5f2repo sync{ 229baa3858d3f5d128a5c8466b700098109edcad5f2repo sync void *(*Alloc)(void *p, size_t size); 230baa3858d3f5d128a5c8466b700098109edcad5f2repo sync void (*Free)(void *p, void *address); /* address can be 0 */ 231baa3858d3f5d128a5c8466b700098109edcad5f2repo sync} ISzAlloc; 232baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 233baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define IAlloc_Alloc(p, size) (p)->Alloc((p), size) 234baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define IAlloc_Free(p, a) (p)->Free((p), a) 235baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 236baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#ifdef _WIN32 237baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 238baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define CHAR_PATH_SEPARATOR '\\' 239baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define WCHAR_PATH_SEPARATOR L'\\' 240baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define STRING_PATH_SEPARATOR "\\" 241baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define WSTRING_PATH_SEPARATOR L"\\" 242baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 243baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#else 244baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 245baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define CHAR_PATH_SEPARATOR '/' 246baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define WCHAR_PATH_SEPARATOR L'/' 247baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define STRING_PATH_SEPARATOR "/" 248baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#define WSTRING_PATH_SEPARATOR L"/" 249baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 250baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 251baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 252baa3858d3f5d128a5c8466b700098109edcad5f2repo syncEXTERN_C_END 253baa3858d3f5d128a5c8466b700098109edcad5f2repo sync 254baa3858d3f5d128a5c8466b700098109edcad5f2repo sync#endif 255