mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-14 05:32:51 -06:00
an API to create unique function names
This commit is contained in:
@@ -502,12 +502,12 @@ PGF_API_DECL
|
||||
PgfRevision pgf_checkout_revision(PgfDB *db, PgfExn *err);
|
||||
|
||||
PGF_API_DECL
|
||||
void pgf_create_function(PgfDB *db, PgfRevision revision,
|
||||
PgfText *name,
|
||||
PgfType ty, size_t arity, char *bytecode,
|
||||
prob_t prob,
|
||||
PgfMarshaller *m,
|
||||
PgfExn *err);
|
||||
PgfText *pgf_create_function(PgfDB *db, PgfRevision revision,
|
||||
PgfText *name_pattern,
|
||||
PgfType ty, size_t arity, char *bytecode,
|
||||
prob_t prob,
|
||||
PgfMarshaller *m,
|
||||
PgfExn *err);
|
||||
|
||||
PGF_API_DECL
|
||||
void pgf_drop_function(PgfDB *db, PgfRevision revision,
|
||||
|
||||
Reference in New Issue
Block a user