Fix several bugs
This commit is contained in:
parent
8b001e8876
commit
ef900e7358
9 changed files with 24 additions and 15 deletions
|
|
@ -162,6 +162,9 @@ typedef struct sj4context {
|
|||
JREC* jrec_pool;
|
||||
CLREC* clrec_free;
|
||||
CLREC* clrec_pool;
|
||||
|
||||
DictFile* dictlink;
|
||||
StdyFile* stdylink;
|
||||
} Sj4Context;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@
|
|||
#if defined(_MSC_VER)
|
||||
|
||||
#if defined(_MSC_VER) && _MSC_VER < 1900
|
||||
static int __inline sj4_snprintf(char* buffer, size_t count, const char* fmt, ...){
|
||||
int st;
|
||||
static int __inline sj4_snprintf(char* buffer, size_t count, const char* fmt, ...) {
|
||||
int st;
|
||||
va_list va;
|
||||
|
||||
va_start(va, fmt);
|
||||
|
|
|
|||
|
|
@ -241,8 +241,8 @@ int closedict(SJ4_CONTEXT DictFile*);
|
|||
void lock_dict(DictFile*, int);
|
||||
void unlock_dict(DictFile*, int);
|
||||
int is_dict_locked(DictFile*);
|
||||
StdyFile* openstdy(char*, char*);
|
||||
int closestdy(StdyFile*);
|
||||
StdyFile* openstdy(SJ4_CONTEXT char*, char*);
|
||||
int closestdy(SJ4_CONTEXT StdyFile*);
|
||||
int putstydic(SJ4_CONTEXT2);
|
||||
int putcldic(SJ4_CONTEXT2);
|
||||
int makedict(char*, int, int, int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue