How to declare a function pointer in a struct, which the function that pointer points includes that struct in its body?

前端 未结 0 1741
逝去的感伤
逝去的感伤 2021-02-07 05:03

I tried to search quite a lot but i could\'nt find exactly what i was looking for.

for example:

struct A {
 int something;
 void(*function_ptr)(void);
 fun         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题