Hi all,<br><br>I am wrapping a code which looks like<br><br>struct{<br>...<br>void (*del) (Context *);<br>...<br>} ContextController;<br><br>cdef struct ContextController:<br> ...<br> void (*del) (Context *)<br>
....<br><br>will not work coz "del" is a reserved word.<br>I went through the language guide and found a section addresing the same problem, however the solution provided there isnot working out for me.<br>
tried various combinations of the following:<br><br>cdef void(*del) "ctx_delete"<br>cdef struct ContextController:<br> ...<br> ctx_delete (Context *)<br> ...<br><br>However, I guess i am missing something here.
<br><br>Anyone?<br><br>Thanks in advance<br><br>//TD<span style="font-style: italic;"></span><br><br><br>