[Pyrex] reserved word as function name problem
Test Drive
testdrive6 at gmail.com
Tue Jul 4 05:28:43 UTC 2006
Hi all,
I am wrapping a code which looks like
struct{
...
void (*del) (Context *);
...
} ContextController;
cdef struct ContextController:
...
void (*del) (Context *)
....
will not work coz "del" is a reserved word.
I went through the language guide and found a section addresing the same
problem, however the solution provided there isnot working out for me.
tried various combinations of the following:
cdef void(*del) "ctx_delete"
cdef struct ContextController:
...
ctx_delete (Context *)
...
However, I guess i am missing something here.
Anyone?
Thanks in advance
//TD
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.copyleft.no/pipermail/pyrex/attachments/20060704/6d21f78f/attachment.html
More information about the Pyrex
mailing list