From 7d72d99c2f7fc228d71df627a10a2ff776335b2b Mon Sep 17 00:00:00 2001 From: krasimir Date: Wed, 19 Apr 2017 09:34:23 +0000 Subject: explicitly classify all functions in libpgf as either internal or API functions --- src/runtime/c/pgf/linearizer.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/runtime/c/pgf/linearizer.h') diff --git a/src/runtime/c/pgf/linearizer.h b/src/runtime/c/pgf/linearizer.h index 08ebfd159..2c98299b2 100644 --- a/src/runtime/c/pgf/linearizer.h +++ b/src/runtime/c/pgf/linearizer.h @@ -25,14 +25,14 @@ typedef GuVariant PgfCncTree; typedef GuEnum PgfCncTreeEnum; /// Begin enumerating concrete syntax variants. -PgfCncTreeEnum* +PGF_API_DECL PgfCncTreeEnum* pgf_lzr_concretize(PgfConcr* concr, PgfExpr expr, GuExn* err, GuPool* pool); typedef struct { char nothing[0]; // Empty struct } PgfLinNonExist; -PgfCncTree +PGF_API_DECL PgfCncTree pgf_lzr_wrap_linref(PgfCncTree ctree, GuPool* pool); @@ -68,24 +68,24 @@ struct PgfLinFuncs }; /// Linearize a concrete syntax tree. -void +PGF_API_DECL void pgf_lzr_linearize(PgfConcr* concr, PgfCncTree ctree, size_t lin_idx, PgfLinFuncs** funcs, GuPool* tmp_pool); /// Linearize a concrete syntax tree as space-separated tokens. -void +PGF_API_DECL void pgf_lzr_linearize_simple(PgfConcr* concr, PgfCncTree ctree, size_t lin_idx, GuOut* out, GuExn* err, GuPool* tmp_pool); -void +PGF_API_DECL void pgf_lzr_get_table(PgfConcr* concr, PgfCncTree ctree, size_t* n_lins, GuString** labels); #ifdef PGF_DATA_H_ // Used internally in the parser -GuString +PGF_INTERNAL_DECL GuString pgf_get_tokens(PgfSymbols* sym, uint16_t sym_idx, GuPool* pool); #endif -- cgit v1.2.3