Hello, I've got some problem with my function and don't know how to solve this problem, This is my code:
ListResult result=listFind(currentLines, compareBasicLines, &linePrototype); <-here problem
compareBasicLines pointer to function
int compareBasicLines(ptrLine line1, ptrLine line2){
COMPARE_NUMBER_STRINGS(line1, line2);
}
COMPARE_NUMBER_STRINGS(line1, line2); defined in another file
#define COMPARE_NUMBER_STRINGS(var1, var2) \
if(var1 == NULL || var2 == NULL){ \
return 0; \
} \
return strcmp(var1->strNumber, var2->strNumber);
thanks in advance for everyone