Hi, Am 04/18/2008 03:07 PM schrieb Stefan Behnel: > Ah, ok. Two things here: 2) you will have to transmit the function pointers to > the plugin (likely through a struct) and 1) you have to declare a Cython > function with the same signature that it has in the header file (which is what > you are asking here).
1) is clear. But what do you mean with 2) ? Which function pointers? > If not, could you provide an example of such a signature? Yes, I can. ;) void plug_observ_data (plugDefinition *plug, const char *ident); This is one example. My problem here is that Cython doesn't know anything about const. So I can't implement this function appropriately. Is there any way to solve this problem? Johannes
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
