On Friday 06 November 2009 14:52:49 troy d. straszheim wrote:
> Currently, the converter type still leaks out to python in the signature:
>
> class S(Boost.Python.instance)
> | add(...)
> | add( (S)arg1, (object)arg2) -> None :
> |
> | C++ signature :
>
Hi Nikolaus.
The ability to inject user code was added. The relevant commit is:
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1792&view=rev
The usage is pretty simple:
mb = ctypes_module_builder_t( ... )
#will add code to the top of the module
mb.add_module_code( "#top", tail=False )
#will
On Mon, Dec 28, 2009 at 5:57 PM, Nikolaus Rath wrote:
> Not quite. I'd rather have the "use simple regex to search for "#define
> FUSE_*" expression" part in Py++ rather than in my own code.
It is definitely possible, if we will agree on a desired/sufficient
functionality.
> Also, I'm
> not sure
Roman Yakovenko writes:
> On Mon, Dec 28, 2009 at 12:54 AM, Nikolaus Rath wrote:
>> Hello,
>>
>> Is there a way to export preprocessor definitions (#define ...) with the
>> ctypes code generator?
>>
>> At the moment I'm using this rather nasty hack:
>>
>> /* Header file */
>> // FUSE_SET_ATTR_* i