3 ms·
What if the function is written in assembler and takes some pointer to some opaque memory region? void (*)(char *) and void (*)(void *) and even void\()(struct
by im3w1l 2y ago
What if the function is written in assembler and takes some pointer to some opaque memory region?
void (*)(char *) and void (*)(void *) and even void\()(struct SomeStruct*) where SomeStruct is declared but never defined could all be correct and reasonable ways to declare that function in a c-header.