On Monday, 15 October 2012 at 11:42:41 UTC, Jacob Carlborg wrote:
On 2012-10-15 13:37, Oleg wrote:You need to declare all functions you want to use from C as: extern (C) gpgme_err_code_t gpgme_err_code_from_syserror(); Then you also need to link with the C library. http://dlang.org/interfaceToC.html
I have extern wrapper:
extern (C) {
// code here
}
