diff options
| author | krasimir <krasimir@chalmers.se> | 2017-04-19 09:34:23 +0000 |
|---|---|---|
| committer | krasimir <krasimir@chalmers.se> | 2017-04-19 09:34:23 +0000 |
| commit | 7d72d99c2f7fc228d71df627a10a2ff776335b2b (patch) | |
| tree | f4629cb53ba213a56f3f8faddae3cc77595c077a /src/runtime/c/pgf/linearizer.h | |
| parent | 33ec916c9c8a7656583ef31947c5ff81b029d3a7 (diff) | |
explicitly classify all functions in libpgf as either internal or API functions
Diffstat (limited to 'src/runtime/c/pgf/linearizer.h')
| -rw-r--r-- | src/runtime/c/pgf/linearizer.h | 12 |
1 files changed, 6 insertions, 6 deletions
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 |
