Implement OOB destroy method that can be called from the java finalizer removing the need to explicitly destroy objects.

This commit is contained in:
Jason Sams
2009-08-18 17:07:09 -07:00
parent 7ce033d797
commit 730ee65d4d
7 changed files with 107 additions and 11 deletions

View File

@@ -75,6 +75,7 @@ public class RenderScript {
native void nAssignName(int obj, byte[] name);
native void nObjDestroy(int id);
native void nObjDestroyOOB(int id);
native int nFileOpen(byte[] name);
native void nElementBegin();