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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; void (*del) (Context *)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ....<br><br>will not work coz &quot;del&quot;&nbsp; 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>
&nbsp;tried various combinations of the following:<br><br>cdef void(*del) &quot;ctx_delete&quot;<br>cdef struct ContextController:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ctx_delete (Context *)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ...<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>