mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-04 08:42:50 -06:00
added createCategory, dropCategory
This commit is contained in:
@@ -26,6 +26,14 @@ PgfText* textdup(PgfText *t1)
|
||||
return t2;
|
||||
}
|
||||
|
||||
PGF_INTERNAL
|
||||
ref<PgfText> textdup_db(PgfText *t1)
|
||||
{
|
||||
ref<PgfText> t2 = PgfDB::malloc<PgfText>(t1->size+1);
|
||||
memcpy(&(*t2), t1, sizeof(PgfText)+t1->size+1);
|
||||
return t2;
|
||||
}
|
||||
|
||||
PGF_API uint32_t
|
||||
pgf_utf8_decode(const uint8_t** src_inout)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user