summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-09-26 11:59:35 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-09-26 11:59:35 +0000
commit780ba65c253d3b8d9b1ab0f2bb72c684d4070145 (patch)
treef66cae8dda9ab0d609e514ffa419afbc4f782321
parent216490f27592d1f1c0dd74846c12b986a08e27bc (diff)
remove pgf/edsl.h from the C runtime
-rw-r--r--src/runtime/c/Makefile.am1
-rw-r--r--src/runtime/c/pgf/edsl.h20
-rw-r--r--src/runtime/c/utils/pgf-parse.c1
-rw-r--r--src/runtime/c/utils/pgf-translate.c1
4 files changed, 0 insertions, 23 deletions
diff --git a/src/runtime/c/Makefile.am b/src/runtime/c/Makefile.am
index daf178aea..a8d507d9d 100644
--- a/src/runtime/c/Makefile.am
+++ b/src/runtime/c/Makefile.am
@@ -87,7 +87,6 @@ libteyjus_la_SOURCES = \
libpgf_la_SOURCES = \
pgf/data.c \
pgf/data.h \
- pgf/edsl.h \
pgf/expr.c \
pgf/expr.h \
pgf/parser.c \
diff --git a/src/runtime/c/pgf/edsl.h b/src/runtime/c/pgf/edsl.h
deleted file mode 100644
index af21e6c15..000000000
--- a/src/runtime/c/pgf/edsl.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef PGF_EDSL_H_
-#define PGF_EDSL_H_
-
-#include <pgf/expr.h>
-
-#define APP(f, a) \
- gu_new_variant_i(PGF_EDSL_POOL, PGF_EXPR_APP, PgfExprApp, f, a)
-#define APP2(f, a1, a2) APP(APP(f, a1), a2)
-#define APP3(f, a1, a2, a3) APP2(APP(f, a1), a2, a3)
-
-#define VAR(s) \
- gu_new_variant_i(PGF_EDSL_POOL, PGF_EXPR_FUN, PgfExprFun, gu_cstring(#s))
-
-#define APPV(s, a) APP(VAR(s), a)
-#define APPV2(s, a1, a2) APP2(VAR(s), a1, a2)
-#define APPV3(s, a1, a2, a3) APP3(VAR(s), a1, a2)
-
-
-
-#endif // PGF_EDSL_H_
diff --git a/src/runtime/c/utils/pgf-parse.c b/src/runtime/c/utils/pgf-parse.c
index bd7ea6c89..692fec31e 100644
--- a/src/runtime/c/utils/pgf-parse.c
+++ b/src/runtime/c/utils/pgf-parse.c
@@ -9,7 +9,6 @@
#include <pgf/literals.h>
#include <pgf/linearizer.h>
#include <pgf/expr.h>
-#include <pgf/edsl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
diff --git a/src/runtime/c/utils/pgf-translate.c b/src/runtime/c/utils/pgf-translate.c
index 41f74fda2..cb3b1d6ec 100644
--- a/src/runtime/c/utils/pgf-translate.c
+++ b/src/runtime/c/utils/pgf-translate.c
@@ -6,7 +6,6 @@
#include <pgf/parser.h>
#include <pgf/literals.h>
#include <pgf/linearizer.h>
-#include <pgf/edsl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>