Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: b9f15df1ec3639c7a35c9a085f71f15335b45f55 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
RoomModel room.basic.types {

	PrimitiveType boolean: ptBoolean -> bool default "false"
	PrimitiveType char: ptCharacter -> char default "0"
	PrimitiveType int8: ptInteger -> int8 default "0"
	PrimitiveType int16: ptInteger -> int16 default "0"
	PrimitiveType int32: ptInteger -> int32 default "0"
	PrimitiveType int64: ptInteger -> int64 default "0"

	PrimitiveType uint8: ptInteger -> uint8 default "0"
	PrimitiveType uint16: ptInteger -> uint16 default "0"
	PrimitiveType uint32: ptInteger -> uint32 default "0"
	PrimitiveType uint64: ptInteger -> uint64 default "0"

	PrimitiveType float32:ptReal -> float32 default "0"
	PrimitiveType float64:ptReal -> float64 default "0"

	// TODO: define strings for C
	PrimitiveType charPtr:ptCharacter -> charPtr default "0"
	PrimitiveType string:ptCharacter -> charPtr default "0"  
}

Back to the top