[C++-sig] Pyste enhancements - mini patch
Jaroslav Gresula
jgresula at seznam.cz
Wed Apr 13 23:11:59 CEST 2005
Hi,
I extended my local copy of Pyste by the following two enhancements:
i) a class can be declared as final:
C = Class( 'C', 'c.h' )
final( C )
ii) registration of converters for user-defined smart pointers:
C = Class( 'C', 'c.h' )
Include( "my_smart_pointers.h" )
use_smart_ptr( C, "my_shared_ptr" )
use_smart_ptr( C, "my_auto_ptr" )
I thought that also someone else might find it useful. If anyone is
interested, the patch is attached.
Cheers,
Jarda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyste-minipatch.zip
Type: application/x-zip-compressed
Size: 1398 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20050413/034c5c72/attachment.bin>
More information about the Cplusplus-sig
mailing list