Extern Keyword for Function Type

Dicebot public at dicebot.lv
Tue Apr 15 13:19:34 PDT 2014


C has no knowledge of D ABI so this can't work. If you just want 
to store D function pointer to later retrieve it and call from D 
code, you can as well store it as void* (or extern(C) with 
similar signature to preserve part of type) and cast upon 
interfacing.


More information about the Digitalmars-d-learn mailing list