Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room28
1 files changed, 14 insertions, 14 deletions
diff --git a/tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room b/tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room
index 9ba731134..c079c05ea 100644
--- a/tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room
+++ b/tests/org.eclipse.etrice.generator.c.tests/model/CTypes.room
@@ -1,21 +1,21 @@
RoomModel room.basic.types.c {
- PrimitiveType boolean -> boolean default "FALSE"
- PrimitiveType char -> char default "0"
- PrimitiveType int8 -> int8 default "0"
- PrimitiveType int16 -> int16 default "0"
- PrimitiveType int32 -> int32 default "0"
- PrimitiveType int64 -> int64 default "0"
+ PrimitiveType boolean: ptBoolean -> boolean 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 -> uint8 default "0"
- PrimitiveType uint16 -> uint16 default "0"
- PrimitiveType uint32 -> uint32 default "0"
- PrimitiveType uint64 -> uint64 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 -> float32 default "0"
- PrimitiveType float64 -> float64 default "0"
+ PrimitiveType float32:ptReal -> float32 default "0"
+ PrimitiveType float64:ptReal -> float64 default "0"
// TODO: define strings for C
- PrimitiveType charPtr -> charPtr default "0"
- PrimitiveType string -> charPtr default "0"
+ PrimitiveType charPtr:ptCharacter -> charPtr default "0"
+ PrimitiveType string:ptCharacter -> charPtr default "0"
} \ No newline at end of file

Back to the top