J
John Smith
I am making a wrapper around an existing C library through JNI. I have two
functions Init() and Free() which allocates and deallocates resources.
How can I have the wrapper class call Free() when it runs out of scope?
The alternative is ofcourse to let users of the wrapper class call the Free
function specificly.
-- John
functions Init() and Free() which allocates and deallocates resources.
How can I have the wrapper class call Free() when it runs out of scope?
The alternative is ofcourse to let users of the wrapper class call the Free
function specificly.
-- John