Re: Function typedefs have any use?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Kevin P. Fleming" <kpfleming@xxxxxxxxxxxxxxx> writes:

[...]

| So, that leaves me back at my original quandary: I can create a
| typedef of a function type, and I can use that typedef to declare
| function pointers to hold addresses of compatible functions, but I
| can't use the typedef to actually _declare_ those compatible functions

sure, you can use it to declare the function itself.  See the example I
gave. 

But, yes, you can't use it to *define* it.  Think about how you'd
introduce the function parameters.

-- Gaby

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux