mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 19:42:50 -06:00
forgot updating the header as well
This commit is contained in:
@@ -64,8 +64,8 @@ private:
|
|||||||
friend class PgfReader;
|
friend class PgfReader;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
PgfDB(const char* pathname, int flags, int mode);
|
PGF_INTERNAL_DECL PgfDB(const char* pathname, int flags, int mode);
|
||||||
~PgfDB();
|
PGF_INTERNAL_DECL ~PgfDB();
|
||||||
|
|
||||||
template<class A>
|
template<class A>
|
||||||
static ref<A> malloc() {
|
static ref<A> malloc() {
|
||||||
@@ -92,18 +92,18 @@ public:
|
|||||||
current_db->set_root_internal(root.offset);
|
current_db->set_root_internal(root.offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void sync();
|
PGF_INTERNAL_DECL static void sync();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void init_state(size_t size);
|
PGF_INTERNAL_DECL void init_state(size_t size);
|
||||||
|
|
||||||
object malloc_internal(size_t bytes);
|
PGF_INTERNAL_DECL object malloc_internal(size_t bytes);
|
||||||
void free_internal(object o);
|
PGF_INTERNAL_DECL void free_internal(object o);
|
||||||
|
|
||||||
object get_root_internal();
|
PGF_INTERNAL_DECL object get_root_internal();
|
||||||
void set_root_internal(object root_offset);
|
PGF_INTERNAL_DECL void set_root_internal(object root_offset);
|
||||||
|
|
||||||
unsigned char* relocate(unsigned char* ptr);
|
PGF_INTERNAL_DECL unsigned char* relocate(unsigned char* ptr);
|
||||||
|
|
||||||
friend class DB_scope;
|
friend class DB_scope;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user