typedefs and prototypes

Doug Gwyn gwyn at smoke.ARPA
Thu Sep 22 10:20:44 AEST 1988


In article <13664 at mimsy.UUCP> chris at mimsy.UUCP (Chris Torek) writes:
>Note that you cannot use a typedef to define a function type...

That's a real pity too.  We have an application where a programmer
has to supply functions that match a predetermined interface (they
are called via pointers in a struct).  It would be wonderful if a
typedef could be used for defining the function as well as
declaring the pointers in the struct.

Yet another thing to fix in the "D" language.



More information about the Comp.lang.c mailing list