14 lines
199 B
Java
14 lines
199 B
Java
package jlilv.c;
|
|
|
|
public class CObject {
|
|
|
|
long cpointer;
|
|
CFree cfree = null;
|
|
|
|
@Override
|
|
protected void finalize() throws Throwable {
|
|
if(cfree != null)
|
|
this.cfree.free(this.cpointer);
|
|
}
|
|
}
|