11
General Discussion / C2 discord server
« Last post by aolko on October 18, 2019, 03:30:07 PM »Hi there, in order to communicate more quickly i've made a [small] discord server for C2. I hope you'll find it useful.
Invite.
Invite.
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 |
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 );
// func const FILE open(...) { ... } =>
func const managed FILE open(...) { ... }