mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-01-21 18:48:34 +08:00
Changed the definition of gssize and fixed some memory leaks following code review.
This commit is contained in:
@@ -39,7 +39,7 @@ typedef const void * gconstpointer;
|
||||
typedef uint8_t guint8;
|
||||
typedef guint32 GQuark;
|
||||
typedef guint32 gunichar;
|
||||
typedef signed int gssize;
|
||||
typedef signed long gssize;
|
||||
|
||||
typedef guint (*GHashFunc)(gconstpointer);
|
||||
typedef int (*GCompareFunc)(gconstpointer, gconstpointer);
|
||||
|
||||
@@ -575,6 +575,7 @@ void mdb_register_backend(MdbHandle *mdb, char *backend_name, guint32 capabiliti
|
||||
int mdb_set_default_backend(MdbHandle *mdb, const char *backend_name);
|
||||
int mdb_print_schema(MdbHandle *mdb, FILE *outfile, char *tabname, char *dbnamespace, guint32 export_options);
|
||||
void mdb_print_col(FILE *outfile, gchar *col_val, int quote_text, int col_type, int bin_len, char *quote_char, char *escape_char, int flags);
|
||||
gchar *mdb_normalise_and_replace(MdbHandle *mdb, gchar **str);
|
||||
|
||||
/* sargs.c */
|
||||
int mdb_test_sargs(MdbTableDef *table, MdbField *fields, int num_fields);
|
||||
|
||||
Reference in New Issue
Block a user