Displaying 1 result from an estimated 1 matches for "_some_func".
Did you mean:
some_func
2012 Nov 28
0
[LLVMdev] Fwd: clang code-completion question
...012/11/28
Subject: Re: [LLVMdev] clang code-completion question
To: Nick Lewycky <nicholas at mxc.ca>
Cc: "cfe-dev at cs.uiuc.edu Developers" <cfe-dev at cs.uiuc.edu>
Hello, Nick!
Thank you for your reply.
Regarding to pointers to functions: look at this code:
static void _some_func(int a, int b, int c)
{
//-- do something
}
typedef void (*T_pMyFunc) (int a, int b, int c);
typedef struct {
T_pMyFunc p_my_func;
} T_MyStruct;
int main(void)
{
T_MyStruct my_struct = {
.p_my_func = _some_func,
};
_some_func/*cursor is here. I see function signature: int a...