mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
add method "free"
This commit is contained in:
@@ -77,6 +77,11 @@ public:
|
||||
return current_db->malloc_internal(bytes);
|
||||
}
|
||||
|
||||
template<class A>
|
||||
static void free(ref<A> o) {
|
||||
return current_db->free_internal(o.as_object());
|
||||
}
|
||||
|
||||
template<class A>
|
||||
static ref<A> get_root() {
|
||||
return current_db->get_root_internal();
|
||||
|
||||
Reference in New Issue
Block a user