forked from GitHub/gf-core
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