goat3d

diff libs/openctm/liblzma/NameMangle.h @ 14:188c697b3b49

- added a document describing the goat3d file format chunk hierarchy - started an alternative XML-based file format - added the openctm library
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 26 Sep 2013 04:47:05 +0300
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libs/openctm/liblzma/NameMangle.h	Thu Sep 26 04:47:05 2013 +0300
     1.3 @@ -0,0 +1,84 @@
     1.4 +/* NameMangle.h -- Name mangling to avoid linking conflicts
     1.5 +2009-04-15 : Marcus Geelnard : Public domain */
     1.6 +
     1.7 +#ifndef __7Z_NAMEMANGLE_H
     1.8 +#define __7Z_NAMEMANGLE_H
     1.9 +
    1.10 +#ifdef LZMA_PREFIX_CTM
    1.11 +
    1.12 +/* Alloc.c */
    1.13 +#define MyAlloc _ctm_MyAlloc
    1.14 +#define MyFree _ctm_MyFree
    1.15 +#ifdef _WIN32
    1.16 +#define MidAlloc _ctm_MidAlloc
    1.17 +#define MidFree _ctm_MidFree
    1.18 +#define SetLargePageSize _ctm_SetLargePageSize
    1.19 +#define BigAlloc _ctm_BigAlloc
    1.20 +#define BigFree _ctm_BigFree
    1.21 +#endif /* _WIN32 */
    1.22 +
    1.23 +/* LzFind.c */
    1.24 +#define MatchFinder_GetPointerToCurrentPos _ctm_MatchFinder_GetPointerToCurrentPos
    1.25 +#define MatchFinder_GetIndexByte _ctm_MatchFinder_GetIndexByte
    1.26 +#define MatchFinder_GetNumAvailableBytes _ctm_MatchFinder_GetNumAvailableBytes
    1.27 +#define MatchFinder_ReduceOffsets _ctm_MatchFinder_ReduceOffsets
    1.28 +#define MatchFinder_MoveBlock _ctm_MatchFinder_MoveBlock
    1.29 +#define MatchFinder_NeedMove _ctm_MatchFinder_NeedMove
    1.30 +#define MatchFinder_ReadIfRequired _ctm_MatchFinder_ReadIfRequired
    1.31 +#define MatchFinder_Construct _ctm_MatchFinder_Construct
    1.32 +#define MatchFinder_Free _ctm_MatchFinder_Free
    1.33 +#define MatchFinder_Create _ctm_MatchFinder_Create
    1.34 +#define MatchFinder_Init _ctm_MatchFinder_Init
    1.35 +#define MatchFinder_Normalize3 _ctm_MatchFinder_Normalize3
    1.36 +#define GetMatchesSpec1 _ctm_GetMatchesSpec1
    1.37 +#define Bt3Zip_MatchFinder_GetMatches _ctm_Bt3Zip_MatchFinder_GetMatches
    1.38 +#define Hc3Zip_MatchFinder_GetMatches _ctm_Hc3Zip_MatchFinder_GetMatches
    1.39 +#define Bt3Zip_MatchFinder_Skip _ctm_Bt3Zip_MatchFinder_Skip
    1.40 +#define Hc3Zip_MatchFinder_Skip _ctm_Hc3Zip_MatchFinder_Skip
    1.41 +#define MatchFinder_CreateVTable _ctm_MatchFinder_CreateVTable
    1.42 +
    1.43 +/* LzmaDec.c */
    1.44 +#define LzmaDec_InitDicAndState _ctm_LzmaDec_InitDicAndState
    1.45 +#define LzmaDec_Init _ctm_LzmaDec_Init
    1.46 +#define LzmaDec_DecodeToDic _ctm_LzmaDec_DecodeToDic
    1.47 +#define LzmaDec_DecodeToBuf _ctm_LzmaDec_DecodeToBuf
    1.48 +#define LzmaDec_FreeProbs _ctm_LzmaDec_FreeProbs
    1.49 +#define LzmaDec_Free _ctm_LzmaDec_Free
    1.50 +#define LzmaProps_Decode _ctm_LzmaProps_Decode
    1.51 +#define LzmaDec_AllocateProbs _ctm_LzmaDec_AllocateProbs
    1.52 +#define LzmaDec_Allocate _ctm_LzmaDec_Allocate
    1.53 +#define LzmaDecode _ctm_LzmaDecode
    1.54 +
    1.55 +/* LzmaEnc.c */
    1.56 +#define LzmaEncProps_Init _ctm_LzmaEncProps_Init
    1.57 +#define LzmaEncProps_Normalize _ctm_LzmaEncProps_Normalize
    1.58 +#define LzmaEncProps_GetDictSize _ctm_LzmaEncProps_GetDictSize
    1.59 +#define LzmaEnc_FastPosInit _ctm_LzmaEnc_FastPosInit
    1.60 +#define LzmaEnc_SaveState _ctm_LzmaEnc_SaveState
    1.61 +#define LzmaEnc_RestoreState _ctm_LzmaEnc_RestoreState
    1.62 +#define LzmaEnc_SetProps _ctm_LzmaEnc_SetProps
    1.63 +#define LzmaEnc_InitPriceTables _ctm_LzmaEnc_InitPriceTables
    1.64 +#define LzmaEnc_Construct _ctm_LzmaEnc_Construct
    1.65 +#define LzmaEnc_Create _ctm_LzmaEnc_Create
    1.66 +#define LzmaEnc_FreeLits _ctm_LzmaEnc_FreeLits
    1.67 +#define LzmaEnc_Destruct _ctm_LzmaEnc_Destruct
    1.68 +#define LzmaEnc_Destroy _ctm_LzmaEnc_Destroy
    1.69 +#define LzmaEnc_Init _ctm_LzmaEnc_Init
    1.70 +#define LzmaEnc_InitPrices _ctm_LzmaEnc_InitPrices
    1.71 +#define LzmaEnc_PrepareForLzma2 _ctm_LzmaEnc_PrepareForLzma2
    1.72 +#define LzmaEnc_MemPrepare _ctm_LzmaEnc_MemPrepare
    1.73 +#define LzmaEnc_Finish _ctm_LzmaEnc_Finish
    1.74 +#define LzmaEnc_GetNumAvailableBytes _ctm_LzmaEnc_GetNumAvailableBytes
    1.75 +#define LzmaEnc_GetCurBuf _ctm_LzmaEnc_GetCurBuf
    1.76 +#define LzmaEnc_CodeOneMemBlock _ctm_LzmaEnc_CodeOneMemBlock
    1.77 +#define LzmaEnc_Encode _ctm_LzmaEnc_Encode
    1.78 +#define LzmaEnc_WriteProperties _ctm_LzmaEnc_WriteProperties
    1.79 +#define LzmaEnc_MemEncode _ctm_LzmaEnc_MemEncode
    1.80 +
    1.81 +/* LzmaLib.c */
    1.82 +#define LzmaCompress _ctm_LzmaCompress
    1.83 +#define LzmaUncompress _ctm_LzmaUncompress
    1.84 +
    1.85 +#endif /* LZMA_PREFIX_CTM */
    1.86 +
    1.87 +#endif /* __7Z_NAMEMANGLE_H */