diff options
| author | kr.angelov <kr.angelov@gmail.com> | 2012-03-12 14:25:51 +0000 |
|---|---|---|
| committer | kr.angelov <kr.angelov@gmail.com> | 2012-03-12 14:25:51 +0000 |
| commit | 230f309317af6ae79f49091c9580223f756dbfb8 (patch) | |
| tree | ee1cee3c48370fcf04b63794250c71c16b28cbfb /src/runtime/c/pgf/literals.h | |
| parent | 1726995921f6c05686b2b06f672b1376e589f8ac (diff) | |
libpgf: a new implementation for literals which also allows custom literals. the same mechanism is now used for the metavariables
Diffstat (limited to 'src/runtime/c/pgf/literals.h')
| -rw-r--r-- | src/runtime/c/pgf/literals.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/runtime/c/pgf/literals.h b/src/runtime/c/pgf/literals.h new file mode 100644 index 000000000..88f9304a1 --- /dev/null +++ b/src/runtime/c/pgf/literals.h @@ -0,0 +1,15 @@ +#ifndef PGF_LITERALS_H_ +#define PGF_LITERALS_H_ + +#include <pgf/data.h> + +PgfCallbacksMap* +pgf_new_callbacks_map(PgfConcr* concr, GuPool *pool); + +// literal for named entities recognition +extern PgfLiteralCallback pgf_nerc_literal_callback; + +PgfCCat* +pgf_literal_cat(PgfConcr* concr, PgfLiteral lit); + +#endif // PGF_LITERALS_H_ |
