Re: SWIG/Euphoria
- Posted by David Cuny <dcuny at LANSET.COM> Aug 06, 2000
- 417 views
I wrote: > If 'delete' is a legitimate way to destroy C++ objects, > then everything is cool. According to the O'Reilly 'Core C++' book at my local Tower Books, 'delete' is the proper keyword for destroying objects. So if you include the method: ~Class(); for any given class, SWIG will generate the wrapper: delete_Class( atom self ) at the Euphoria level, which will ultimately call delete self; at the C++ level. I hope that clears things up! -- David Cuny