Re: Native finalizer.
Andrew Haley <[email protected]>
| Newsgroups | gmane.comp.gcc.java.devel |
|---|---|
| Message-ID | <[email protected]> |
abhishek desai wrote: > Is there any way to assign a native finalizer method per object to be > called when the object gets garbage collected ? I want to assign this > in the native layer. Sure, just define a method Myclass::finalize() in C++. I think that'll work. Andrew.