mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-08 10:42:50 -06:00
constant time and space grammar embedding
This commit is contained in:
@@ -100,6 +100,8 @@ public:
|
||||
|
||||
PGF_INTERNAL_DECL static txn_t get_txn_id();
|
||||
|
||||
PGF_INTERNAL_DECL const char *get_file_path() { return filepath; };
|
||||
|
||||
template<class A>
|
||||
static ref<A> malloc(size_t extra_bytes=0) {
|
||||
return current_db->malloc_internal(sizeof(A)+extra_bytes);
|
||||
|
||||
Reference in New Issue
Block a user