the PGF class is now using the new Pool class to manage the life time of the memory allocated in C.

This commit is contained in:
kr.angelov
2013-08-29 05:38:07 +00:00
parent bb007630d7
commit 1da6b2a34a
2 changed files with 2 additions and 19 deletions

View File

@@ -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;