[Buildroot] Analysis results for 2018-10-09
Peter Korsgaard
peter at korsgaard.com
Thu Oct 11 11:18:15 UTC 2018
>>>>> "Baruch" == Baruch Siach <baruch at tkos.co.il> writes:
Hi,
>> -typedef double hbase_f(double);
>> +typedef double (*hbase_f)(double);
> Wouldn't that make the definition 'hbase_f *val_in' a pointer to
> function pointer?
Not in C at least. The syntax is:
typedef <returntype> (*name)(<arguments>)
https://stackoverflow.com/questions/1591361/understanding-typedefs-for-function-pointers-in-c
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list