mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-11 13:59:31 -06:00
transactions should always start with the last revision and release it when done
This commit is contained in:
@@ -129,7 +129,7 @@ export const runtime = ffi.Library('libpgf', {
|
||||
pgf_print_context: [PgfTextPtr, [size_t, PgfTypeHypoPtr, PgfPrintContextPtr, ref.types.int, PgfMarshallerPtr]],
|
||||
pgf_read_type: [PgfType, [PgfTextPtr, PgfUnmarshallerPtr]],
|
||||
|
||||
pgf_start_transaction: [PgfRevision, [PgfDBPtr, PgfRevision, PgfExnPtr]],
|
||||
pgf_start_transaction: [PgfRevision, [PgfDBPtr, PgfExnPtr]],
|
||||
pgf_commit_transaction: [ref.types.void, [PgfDBPtr, PgfRevision, PgfExnPtr]],
|
||||
pgf_rollback_transaction: [ref.types.void, [PgfDBPtr, PgfRevision]],
|
||||
pgf_checkout_revision: [PgfRevision, [PgfDBPtr, PgfExnPtr]],
|
||||
|
||||
Reference in New Issue
Block a user