mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
Minor cleanup
This commit is contained in:
@@ -28,7 +28,7 @@ libpgf_la_SOURCES = \
|
||||
pgf/namespace.h
|
||||
|
||||
libpgf_la_LDFLAGS = -no-undefined
|
||||
libpgf_la_LIBADD =
|
||||
# libpgf_la_LIBADD = -lrt
|
||||
libpgf_la_CXXFLAGS = -fno-rtti -std=c++11
|
||||
|
||||
bin_PROGRAMS =
|
||||
|
||||
@@ -123,13 +123,7 @@ struct PGF_INTERNAL_DECL PgfPGF {
|
||||
static void release(ref<PgfPGF> pgf);
|
||||
};
|
||||
|
||||
// extern PGF_INTERNAL_DECL
|
||||
// PgfText master;
|
||||
|
||||
extern PGF_INTERNAL_DECL
|
||||
size_t master_size;
|
||||
|
||||
extern PGF_INTERNAL_DECL
|
||||
char master_text[];
|
||||
extern PGF_INTERNAL_DECL size_t master_size;
|
||||
extern PGF_INTERNAL_DECL char master_text[];
|
||||
|
||||
#endif
|
||||
|
||||
@@ -30,14 +30,8 @@ pgf_exn_clear(PgfExn* err)
|
||||
err->msg = strdup(e.what()); \
|
||||
}
|
||||
|
||||
// PGF_INTERNAL
|
||||
// PgfText master = {size: 6, text: {}};
|
||||
|
||||
PGF_INTERNAL
|
||||
size_t master_size = 6;
|
||||
|
||||
PGF_INTERNAL
|
||||
char master_text[] = {'m','a','s','t','e','r',0};
|
||||
PGF_INTERNAL size_t master_size = 6;
|
||||
PGF_INTERNAL char master_text[] = {'m','a','s','t','e','r',0};
|
||||
|
||||
PGF_API
|
||||
PgfDB *pgf_read_pgf(const char* fpath,
|
||||
|
||||
Reference in New Issue
Block a user