diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-27 16:21:39 +0100 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2024-03-27 16:21:39 +0100 |
commit | 558c6b333f96dc4953337fa9e290b36fbbce5bc3 (patch) | |
tree | 627d4c7daf979e142c75e2d0b9a65a0de8bb749c /modules/tools/tests | |
parent | cdd8dab6d276d8b62b025ac98e495a258331d1e6 (diff) |
tools: Changing transpiling and adding structs
Diffstat (limited to 'modules/tools/tests')
-rw-r--r-- | modules/tools/tests/c_iface.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/tools/tests/c_iface.cpp b/modules/tools/tests/c_iface.cpp index b70131e..35591f8 100644 --- a/modules/tools/tests/c_iface.cpp +++ b/modules/tools/tests/c_iface.cpp @@ -22,6 +22,13 @@ using TestStructArray = Struct< Member<TestArray, "array"> >; +using TestStructMore = Struct< + Member<Int64, "int">, + Member<UInt16, "uint">, + Member<Float32, "float">, + Member<Float64, "double"> +>; + using TestEmptyInterface = Interface<>; using TestOneFunctionInterface = Interface< @@ -44,7 +51,8 @@ using TestMultiFunctionInterface = Interface< Member<Function<TestArray, Float32>, "foo">, Member<Function<Float64, Int8>, "bar">, Member<Function<UInt32, TestArray>, "baz">, - Member<Function<UInt32, Float64>, "banana"> + Member<Function<UInt32, Float64>, "banana">, + Member<Function<TestStructMore, Float32>, "struct"> >; } |