const int* const'
syntax. This is not yet supported in C2.const i32 Max = 10;
is no issue. It is roughly equivalent of using a define in C.type IntP int*; // alias type
const IntP ip = a; // is a 'const IntP' ... but weird, 'const IntP' is different from 'const int*'
void example(IN Buffer* buffer, OUT Result* result);
procedure TEST01 ( In_State : IN VECT_B ; Out_State : IN OUT VECT_B );
old | new | meaning |
const char* | in char* | contents may only be read |
char* | out char* | contents may be written, but must be considered uninitialized for reading at moment of call |
inout char* | contents may be read and written | |
char** | out char** | contents may be written, but must be considered uninitialized for reading at moment of call |
inout char** | contents may be read and written |