aboutsummaryrefslogtreecommitdiff
path: root/jobs
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2017-09-07 15:35:43 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2017-09-07 15:35:43 +0900
commitc5ed011aa13d08d62e999fc6b5ff142a2bc07421 (patch)
tree19a979cafc539e738cfa615e8111bf47dae18d22 /jobs
parent8a8d68f2893a389d1073a86a3d10a1dd64afadce (diff)
downloadlibquotient-c5ed011aa13d08d62e999fc6b5ff142a2bc07421.tar.gz
libquotient-c5ed011aa13d08d62e999fc6b5ff142a2bc07421.zip
Actually use the types map in apigen.yaml
Diffstat (limited to 'jobs')
-rw-r--r--jobs/apigen.yaml14
1 files changed, 6 insertions, 8 deletions
diff --git a/jobs/apigen.yaml b/jobs/apigen.yaml
index 8bb61d39..ba699b12 100644
--- a/jobs/apigen.yaml
+++ b/jobs/apigen.yaml
@@ -32,10 +32,11 @@ types:
- //: int
number:
- float: float
- - double: double
+ - //: double
boolean: bool
string:
- - /byte|binary/: { type: QByteArray, imports: <QtCore/QByteArray> }
+ - byte: &QByteArray { type: QByteArray, imports: <QtCore/QByteArray> }
+ - binary: *QByteArray
- date:
type: QDate
avoidCopy?: true
@@ -48,11 +49,8 @@ types:
file:
type: QByteArray
imports: <QtCore/QByteArray>
- returnFile?: true
- name: data
- "[]": { type: "QVector<{{type}}>", imports: <QtCore/QVector> }
- "{}":
- type: "QHash<QString, {{type}}>"
- imports: [ <QtCore/QHash>, <QtCore/QString> ]
+ "returnFile?": true
+ object: { type: QJsonObject, "avoidCopy?": true, imports: <QtCore/QJsonObject> }
+ array: { type: "QVector<{{1}}>", "avoidCopy?": true, imports: <QtCore/QVector> }
operations: \ No newline at end of file