F
Fatz
Hello,
Couldn't find reference to this - apologies if that's cuz attempting
it is the mark of an ignominous numpty.
typedef int (FN_t)(char *, FN_t **);
I'm on VMS doing this, tho that shouldn't matter I spose. Here's the
error I get:
.............................^
%CC-E-TYPNOTFOUND, In this declaration, no typedef with the name
"FN_t" occurs in any accessible scope.
at line number 1 in file $1$DGA1:[DENNIS.DEV]FNARG.C;1
I've got a recursive function with a callout function as a parameter,
depending on the flow, the callout function needs to be changed for
the inner call. Do I really have to have 2 function pointers as
arguments to pull this off?
If I do something like this:
typedef int (*FN_1t)(char *, void *);
typedef int (*FN_t)(char *, FN_1t **);
it'll work I spose but it's kinda ugly.
Thanks for any help...
Fatz.
Couldn't find reference to this - apologies if that's cuz attempting
it is the mark of an ignominous numpty.
typedef int (FN_t)(char *, FN_t **);
I'm on VMS doing this, tho that shouldn't matter I spose. Here's the
error I get:
.............................^
%CC-E-TYPNOTFOUND, In this declaration, no typedef with the name
"FN_t" occurs in any accessible scope.
at line number 1 in file $1$DGA1:[DENNIS.DEV]FNARG.C;1
I've got a recursive function with a callout function as a parameter,
depending on the flow, the callout function needs to be changed for
the inner call. Do I really have to have 2 function pointers as
arguments to pull this off?
If I do something like this:
typedef int (*FN_1t)(char *, void *);
typedef int (*FN_t)(char *, FN_1t **);
it'll work I spose but it's kinda ugly.
Thanks for any help...
Fatz.