FFI Addendum Typo

Wolfgang Thaller wolfgang.thaller at gmx.net
Sun Sep 7 13:58:05 EDT 2003


In subsubsection 4.1.5 C Argument Promotion, the C example function
void foo (a) {
   float a;
   ...
}

should instead read

void foo (a)
float a;
{
   ...
}

The former declares a local variable that shadows the parameter.

Cheers,

Wolfgang




More information about the FFI mailing list