hpatch head code to C
This commit is contained in:
parent
116d9959c2
commit
f8fec9b5f0
@ -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
|
@ -1,5 +1,5 @@
|
||||
//
|
||||
// BSDiff.m
|
||||
// HDiffPatch.m
|
||||
// RCTPushy
|
||||
//
|
||||
// Created by HouSisong, All rights reserved.
|
||||
|
Loading…
Reference in New Issue
Block a user