D
DevarajA
I'd like to create a linked list or a simple array of pointers to
function, but I can't find out how. I'm trying to do it like this:
struct fn_pointer{
void *pt_; /*the address*/
char *specs_; /*return type and args*/
};
In specs_ every single character identifies the return type [0] and the
type of the arguments. specs_ is 0 terminated. The problem is: how can i
build back the correct pointer type?
function, but I can't find out how. I'm trying to do it like this:
struct fn_pointer{
void *pt_; /*the address*/
char *specs_; /*return type and args*/
};
In specs_ every single character identifies the return type [0] and the
type of the arguments. specs_ is 0 terminated. The problem is: how can i
build back the correct pointer type?