PgfUnmarshaller now mimics a C++ class. Allows for keeping state

This commit is contained in:
krangelov
2021-08-13 18:14:56 +02:00
parent 08bcd2f0b5
commit 221f0b7853
4 changed files with 113 additions and 91 deletions

View File

@@ -125,7 +125,7 @@ struct PgfPGF : DB {
{ u = unmarshaller; };
PGF_INTERNAL_DECL ~PgfPGF()
{ u->free_me(u); };
{ u->free_me(); };
PgfUnmarshaller *u;
};