Liste des Groupes | Revenir à cl c |
If I write this
int *A, B[10], C(int);
However writing:
A; B; C;
creates expressions with types 'ref i32', 'ref i32', and 'ref proc(i32)i32' according to C rules.
BTW here are A, B, C in my syntax:Although nobody here will care in the slightest, that last is the wrong syntax and irks me. It wasn't fully converted from the function pointer version earlier. The proper syntax would be:
ref i32 A
[10]i32 B
proc(i32)i32 C
(The last is a function declaration, which only exist for FFI functions; it can only appear in an 'importdll' block.)
Les messages affichés proviennent d'usenet.