Witam. Mógłby mi ktoś powiedzieć co jest nie tak?
unsigned long *Function(Inter Create, char *Name);
unsigned long Class::*Function(Inter Create, char *Name)
{
unsigned long *temporary = NULL;
while ( temporary == NULL)
{
temporary = reinterpret_cast<unsigned long*>(Inter Create(Name, NULL));
}
return temporary ;
}
Błąd:
Return value type does not match the function type
Inter oznacza typedef void* (*Inter)(const char *Name, int *ReturnCode);