79 lines
2.3 KiB
JSON
79 lines
2.3 KiB
JSON
{
|
|
"cppFile": "test_functions_rust.cpp",
|
|
"rust": {
|
|
"dir": "rust_functions",
|
|
"interfaceModule": "interface",
|
|
"implementationModule": "implementation"
|
|
},
|
|
"objects": {
|
|
"Person": {
|
|
"type": "Object",
|
|
"properties": {
|
|
"userName": {
|
|
"type": "QString",
|
|
"write": true
|
|
}
|
|
},
|
|
"functions": {
|
|
"greet": {
|
|
"return": "QString",
|
|
"mut": false,
|
|
"arguments": [
|
|
{
|
|
"name": "name",
|
|
"type": "QString"
|
|
}
|
|
]
|
|
},
|
|
"doubleName": {
|
|
"return": "void",
|
|
"mut": true,
|
|
"arguments": []
|
|
},
|
|
"append": {
|
|
"return": "void",
|
|
"mut": true,
|
|
"arguments": [
|
|
{
|
|
"name": "suffix",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"name": "amount",
|
|
"type": "quint32"
|
|
}
|
|
]
|
|
},
|
|
"vowelsInName": {
|
|
"return": "quint8",
|
|
"arguments": []
|
|
},
|
|
"quote": {
|
|
"return": "QString",
|
|
"arguments": [
|
|
{
|
|
"name": "prefix",
|
|
"type": "QString"
|
|
}, {
|
|
"name": "suffix",
|
|
"type": "QString"
|
|
}
|
|
]
|
|
},
|
|
"quoteBytes": {
|
|
"return": "QByteArray",
|
|
"arguments": [
|
|
{
|
|
"name": "prefix",
|
|
"type": "QByteArray"
|
|
}, {
|
|
"name": "suffix",
|
|
"type": "QByteArray"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|