Stupid, overenthusiastic me !

Bjoern nanali at nospam-wanadoo.fr
Thu Jan 17 02:04:10 PST 2008


// HERE I /most probabely/ can use char[]
alias extern(Windows) void function(char[] token, bool eof) MyFuncType;
// Here of course NOT !
extern(Windows) export bool dfunc(char* s, MyFuncType cb)
{
   char[] tok;
   // do something and call cb, (exists in a secondary thread)
   cb(tok, false);
}


Sorry. Next time, I'll think twice. Bjoern



More information about the Digitalmars-d mailing list