Why are these function names in parenthesis? [duplicate]
问题 This question already has answers here : How do function pointers in C work? (11 answers) C function pointer syntax (4 answers) Closed 3 years ago . I've been meaning to ask this question for a while now. What's going on with these functions? Why are the names in parenthesis? void (*think)(gentity_t *self); void (*reached)(gentity_t *self); // movers call this when hitting endpoint void (*blocked)(gentity_t *self, gentity_t *other); void (*touch)(gentity_t *self, gentity_t *other, trace_t