Re: typedef func *func();



Till Backhaus wrote:
Hi comp.lang.c,

sorry for the subject of this message not being valid c, anyway this
is the shortest and cleanest way to describe my problem.
To put in other words:
I'm searching for a way to declare functions that return function
pointers of it's own type.
(Yes, I know of void-pointers, I just don't wan't loose type-checking if
I don't have to.)

Cheers,
Till Backhaus

Maybe RTTI in C++ would help. There is nothing like that in C.

What exactly is the problem you are trying to solve? Maybe there is a
simple solution in the C language from anther track.

.



Relevant Pages

  • typedef func *func();
    ... is the shortest and cleanest way to describe my problem. ... I'm searching for a way to declare functions that return function ... Till Backhaus ...
    (comp.lang.c)
  • Re: typedef func *func();
    ... is the shortest and cleanest way to describe my problem. ... I'm searching for a way to declare functions that return function ...
    (comp.lang.c)