callback parameter order question

Andrej Mitrovic andrej.mitrovich at gmail.com
Sat May 11 02:39:25 PDT 2013


On 5/11/13, gedaiu <szabobogdan at yahoo.com> wrote:
> alias int function(void **con_cls,
> size_t *upload_data_size,
> const char *upload_data,
> const char *ver,
> const char *method,
> const char *url,
> MHD_Connection* connection,
> void* cls) MHD_AccessHandlerCallback;

Add extern(C) to the alias:

alias extern(C) int function(void **con_cls, ...) MHD_AccessHandlerCallback;


More information about the Digitalmars-d-learn mailing list