From 1da6b2a34a29b591ba3765887a981e23e5605fbe Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Thu, 29 Aug 2013 05:38:07 +0000 Subject: the PGF class is now using the new Pool class to manage the life time of the memory allocated in C. --- src/runtime/java/jpgf.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/runtime/java/jpgf.c') diff --git a/src/runtime/java/jpgf.c b/src/runtime/java/jpgf.c index b22638cb5..757667c75 100644 --- a/src/runtime/java/jpgf.c +++ b/src/runtime/java/jpgf.c @@ -129,12 +129,6 @@ Java_org_grammaticalframework_pgf_PGF_getStartCat(JNIEnv* env, jobject self) return jname; } -JNIEXPORT void JNICALL -Java_org_grammaticalframework_pgf_PGF_free(JNIEnv* env, jclass cls, jlong pool) -{ - gu_pool_free((GuPool*) pool); -} - typedef struct { GuMapItor fn; JNIEnv *env; -- cgit v1.2.3