diff --git a/src/runtime/c/pgf/db.h b/src/runtime/c/pgf/db.h index 326040a36..748d60e88 100644 --- a/src/runtime/c/pgf/db.h +++ b/src/runtime/c/pgf/db.h @@ -77,6 +77,11 @@ public: return current_db->malloc_internal(bytes); } + template + static void free(ref o) { + return current_db->free_internal(o.as_object()); + } + template static ref get_root() { return current_db->get_root_internal();