Changeset View
Changeset View
Standalone View
Standalone View
tests/test_functions.json
- This file was added.
1 | { | ||||
---|---|---|---|---|---|
2 | "cppFile": "test_functions_rust.cpp", | ||||
3 | "rust": { | ||||
4 | "dir": "rust_functions", | ||||
5 | "interfaceModule": "interface", | ||||
6 | "implementationModule": "implementation" | ||||
7 | }, | ||||
8 | "objects": { | ||||
9 | "Person": { | ||||
10 | "type": "Object", | ||||
11 | "properties": { | ||||
12 | "userName": { | ||||
13 | "type": "QString", | ||||
14 | "write": true | ||||
15 | } | ||||
16 | }, | ||||
17 | "functions": { | ||||
18 | "greet": { | ||||
19 | "return": "QString", | ||||
20 | "mut": false, | ||||
21 | "arguments": [ | ||||
22 | { | ||||
23 | "name": "Name", | ||||
24 | "type": "QString" | ||||
25 | } | ||||
26 | ] | ||||
27 | }, | ||||
28 | "double_name": { | ||||
29 | "return": "void", | ||||
30 | "mut": true, | ||||
31 | "arguments": [] | ||||
32 | }, | ||||
33 | "vowels_in_name": { | ||||
34 | "return": "quint8", | ||||
35 | "arguments": [] | ||||
36 | } | ||||
37 | } | ||||
38 | } | ||||
39 | } | ||||
40 | } |