typedef in c: struct or function reference?
问题 Analyzing some part of software written by someone else, I found the following line of code: typedef const struct rpc_method *(*super_t)(RPC*); Ok, i know, typedef rpc_method *(*super_t)(RPC*); declares a type super_t which is a function pointer... I also know what typedef struct means, but the combination of the two?? Is it a struct with a single entry??? And what means const in this context?? Could it be that const and struct are exchanged??? Nevertheless seems to compile with my gcc eabi.