Forgive me if what I ask is a novice question. I have some C code that was asked to bring to Python I prefer IronPython and remember seeing that CTYPES was implemented into it :-)<br><br>I am not really the best C coder and was suggested by C coders that it couldn&#39;t be done in Python. I aim to prove them wrong<br>
<br><pre class="brush: c;gutter:false;auto-links: false;;">int main(int argc, char **argv)<br>{<br>   int (*func)();<br>   func = (int (*)()) myCode;<br>   printf(&quot;myCode Length is : %d&quot;,strlen(myCode));<br>   (int)(*func)();<br>
   <br>}</pre>is it possible to cast to a function pointer in IronPython using CTYPES I was looking at the CTYPES docs and from what I understand CTYPES has something called callback functions.<br><br>Anyway any idea or help<br>
<br>would be very valuable<br><br>Thank You<br><br>