First draft for adding c string type
This commit is contained in:
@@ -28,6 +28,8 @@ imp_array := [5]S64{1,2}
|
||||
imp_array_c: [5]S64 = {[0] = 1, [2] = 2, [1] = 0} // @todo this should be illegal
|
||||
// without_size: []S64 = {} // @todo: this should be slice, converting from array should be implicit
|
||||
|
||||
string: char = "string"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// Pointers
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user