summaryrefslogtreecommitdiffstats
path: root/resources/example1
diff options
context:
space:
mode:
Diffstat (limited to 'resources/example1')
-rw-r--r--resources/example1/Test.cfg5
-rw-r--r--resources/example1/function.c3
-rw-r--r--resources/example1/function.h1
-rw-r--r--resources/example1/gen.sh17
4 files changed, 0 insertions, 26 deletions
diff --git a/resources/example1/Test.cfg b/resources/example1/Test.cfg
deleted file mode 100644
index 61b0a54f..00000000
--- a/resources/example1/Test.cfg
+++ /dev/null
@@ -1,5 +0,0 @@
-Package com.test
-Style AllStatic
-JavaClass Test
-JavaOutputDir gensrc/java
-NativeOutputDir gensrc/native
diff --git a/resources/example1/function.c b/resources/example1/function.c
deleted file mode 100644
index 9a84189b..00000000
--- a/resources/example1/function.c
+++ /dev/null
@@ -1,3 +0,0 @@
-int one_plus(int a) {
- return 1 + a;
-}
diff --git a/resources/example1/function.h b/resources/example1/function.h
deleted file mode 100644
index 58976c1f..00000000
--- a/resources/example1/function.h
+++ /dev/null
@@ -1 +0,0 @@
-int one_plus(int a);
diff --git a/resources/example1/gen.sh b/resources/example1/gen.sh
deleted file mode 100644
index 6fb971e2..00000000
--- a/resources/example1/gen.sh
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/ksh
-
-JAVA=java
-GLUEGEN_JAR=../../../build/gluegen.jar
-ANTLR_JAR=../../../../../ANTLR/antlr-2.7.4/antlr.jar
-
-NAME=`uname`
-
-if [ $NAME="Windows*" ] ; then
- SEP=\;
-elif [ $NAME="CYGWIN*" ] ; then
- SEP=\;
-else
- SEP=:
-fi
-
-java -cp $GLUEGEN_JAR$SEP$ANTLR_JAR com.sun.gluegen.GlueGen -I. -Ecom.sun.gluegen.JavaEmitter -Cfunction.cfg function.h