Wrapping Python - A function wrapping template
Tom S
h3r3tic at remove.mat.uni.torun.pl
Tue Jun 13 13:26:49 PDT 2006
Kirk McDonald wrote:
> This library, as it exists now, is more a proof-of-concept than a useful
> library, so I'm not quite prepared to release it yet.
Looks sweet ! :)
Hmmm... considering the code:
{ "str_len", cast(PyCFunction)&func_wrap!(str_len).func, METH_VARARGS, "" },
what's the purpose of 'cast(PyCFunction)&func_wrap!(str_len).func' ?
couldn't it be replaced by just a single 'pycFunction!(str_len)' or
something like this ?
Keep up the great work !
--
Tomasz Stachowiak /+ a.k.a. h3r3tic +/
More information about the Digitalmars-d
mailing list