summaryrefslogtreecommitdiff
path: root/src/runtime/c/pgf/literals.h
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2012-03-12 14:25:51 +0000
committerkr.angelov <kr.angelov@gmail.com>2012-03-12 14:25:51 +0000
commit230f309317af6ae79f49091c9580223f756dbfb8 (patch)
treeee1cee3c48370fcf04b63794250c71c16b28cbfb /src/runtime/c/pgf/literals.h
parent1726995921f6c05686b2b06f672b1376e589f8ac (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.h15
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_