Hi,<br><br>I've been using Pyrex recently and found it to be probably the easiest way to interface with DLLs under Windows.... except maybe the missing 'stdcall' function modifier feature (which is listed in the TODO list).
<br><br>Therefore, here is my attempt at filling this gap.<br><br>Basically, the patch allows inserting the keyword __stdcall right after extern, on a cdef statement.<br><br>e.g. <br>cdef extern __stdcall long f1(long arg1)
<br><br>Any comment/remark/suggestion appreciated.<br><br>Eric<br><br>