What u mean by this statemnet ?.
what this statement &(*IR)->func means.
where IR is the pointer to structure & func is pointer to fuction.
func is the member of structure.
.
Relevant Pages
- Re: explain the result
... No, func is *not* a pointer to the function, it is the function. ... A _function designator_ is an expression that has function type. ... Because this conversion does not occur, the operand of the sizeof ... (comp.lang.c) - Re: Passing function pointers as arrays of chars
... memcpy(func_addr, &func, sizeof func); ... pointer needs not to be meaningful? ... and &func is a pointer to a function pointer object. ... (comp.lang.c) - Re: Passing a member function to another func.
... Note: func A::fa can not be static. ... David gave you the answer - you need to use a "pointer to member function" ... instead of an ordinary function pointer. ... (microsoft.public.vc.language) - Re: Passing function pointers as arrays of chars
... memcpy(func_addr, &func, sizeof func); ... pointer needs not to be meaningful? ... char object, and &func is a pointer to a function pointer object. ... (comp.lang.c) - Re: Finding the callstack programmatically
... > Ashutosh wrote: ... > the address 485bb lies between func and main, ... > is func(the body of the func lies between the func pointer and the main ... (comp.unix.programmer) |
|