forked from GitHub/gf-core
two more fixes
This commit is contained in:
@@ -294,7 +294,7 @@ void pgf_write_pgf(const char* fpath,
|
||||
#if defined(__linux__)
|
||||
PGF_API_DECL
|
||||
void pgf_write_pgf_cookie
|
||||
(void *cookie, cookie_io_functions_t *io_funcs,
|
||||
(void *cookie, ssize_t (*writefn)(void *, const char *, size_t),
|
||||
PgfDB *db, PgfRevision revision,
|
||||
PgfText **langs, // null terminated list or null
|
||||
PgfExn* err);
|
||||
@@ -302,7 +302,6 @@ void pgf_write_pgf_cookie
|
||||
PGF_API_DECL
|
||||
void pgf_write_pgf_cookie
|
||||
(void *cookie, int (*writefn)(void *, const char *, int),
|
||||
int (*closefn)(void *),
|
||||
PgfDB *db, PgfRevision revision,
|
||||
PgfText **langs, // null terminated list or null
|
||||
PgfExn* err);
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
module PGF2 (-- * PGF
|
||||
PGF,readPGF,bootNGF,readNGF,newNGF,writePGF,showPGF,
|
||||
readPGFWithProbs, bootNGFWithProbs,
|
||||
#ifdef __linux__
|
||||
#if defined(__linux__) || defined(__APPLE__)
|
||||
writePGF_,
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user