rust-qt-binding-generator/tests/test_functions.json

41 lines
1.1 KiB
JSON
Raw Normal View History

{
"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": []
},
"vowelsInName": {
"return": "quint8",
"arguments": []
}
}
}
}
}