mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-11-04 11:15:27 -07:00
define PgfDB as class for C++ and as struct for C
This commit is contained in:
1 parent
69c70694aa
commit
ee96bcbb1c
1 file changed
+4
@@ -226,7 +226,11 @@ struct PgfMarshaller {
|
|||||||
|
|
||||||
typedef float prob_t;
|
typedef float prob_t;
|
||||||
|
|
||||||
|
#ifdef __cplusplus
|
||||||
|
class PgfDB;
|
||||||
|
#else
|
||||||
typedef struct PgfDB PgfDB;
|
typedef struct PgfDB PgfDB;
|
||||||
|
#endif
|
||||||
typedef object PgfRevision;
|
typedef object PgfRevision;
|
||||||
typedef object PgfConcrRevision;
|
typedef object PgfConcrRevision;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user