make it possible to write grammars via a cookie in glibc

This commit is contained in:
Krasimir Angelov committed 2023-09-04 16:20:49 +02:00
1 parent 9a6d5a99bf
commit 62cad0f1ba
4 files changed
+88

No files matched your search

+9
View File
@@ -291,6 +291,15 @@ void pgf_write_pgf(const char* fpath,
PgfText **langs, // null terminated list or null
PgfExn* err);
#ifdef _GNU_SOURCE
PGF_API_DECL
void pgf_write_pgf_cookie
(void *cookie, cookie_io_functions_t *io_funcs,
PgfDB *db, PgfRevision revision,
PgfText **langs, // null terminated list or null
PgfExn* err);
#endif
PGF_API_DECL
const char *pgf_file_path(PgfDB *db);