mirror of
				https://gitcode.com/gh_mirrors/re/react-native-pushy.git
				synced 2025-10-31 13:23:12 +08:00 
			
		
		
		
	hpatch head code to C
This commit is contained in:
		| @@ -6,6 +6,9 @@ | ||||
| #define HDIFFPATCH_PATCH_H | ||||
| # include <stdint.h> //for uint8_t | ||||
| #include "HDiffPatch/libHDiffPatch/HPatch/patch_types.h" //for hpatch_singleCompressedDiffInfo | ||||
| #ifdef __cplusplus | ||||
| extern "C" { | ||||
| #endif | ||||
|  | ||||
| //result | ||||
| enum { | ||||
| @@ -35,4 +38,7 @@ int hpatch_by_mem(const uint8_t* old,size_t oldsize, uint8_t* newBuf,size_t news | ||||
|                   const uint8_t* pat,size_t patsize,const hpatch_singleCompressedDiffInfo* patInfo); | ||||
| int hpatch_by_file(const char* oldfile, const char* newfile, const char* patchfile); | ||||
|  | ||||
| #ifdef __cplusplus | ||||
| } | ||||
| #endif | ||||
| #endif //HDIFFPATCH_PATCH_H | ||||
		Reference in New Issue
	
	Block a user
	 sisong
					sisong