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