Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 46ccd25608ac0abc2e4f1b0b26d1dc234879aaa3 (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 -> boolean default "ET_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