Re: [pygccxml-development] Parameter passing, ownership semantics
Brought to you by:
mbaas,
roman_yakovenko
From: Roman Y. <rom...@gm...> - 2007-02-19 05:28:29
|
On 2/19/07, Gustavo Carneiro <gjc...@gm...> wrote: > After much effort to rebuilt a patched boost library, it now compiles > fine. However, the methods that are affected by the transformation > (Schedule*) are receiving some kind of name mangling: > > >>> dir(ns3.Simulator) > ['Now', 'Run', > 'ScheduleDestroy_126390ccfc1f22f22289536ea47d3ecb', > 'ScheduleNow_3692da707df52052648f9d5435d958c4', > 'Schedule_fbf096d706be19b392c1e3fbcd3bf544', 'Stop', > '__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__', > '__hash__', '__init__', '__module__', '__new__', '__reduce__', > '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__'] > > Bug? No, feature: file:///home/roman/language-binding/production/www/pyplusplus/documentation/functions/transformation/name_mangling.html You can use "alias" property to change it: Simulator = mb.class_( 'Simulator' ) Simulator.mem_fun( 'ScheduleDestroy' ).alias = .... -- Roman Yakovenko C++ Python language binding http://www.language-binding.net/ |