From a719a27c824ea5e70f5bf6f3c8d13a8c1d6b1bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Vilanova?= Date: Wed, 7 May 2014 20:46:15 +0200 Subject: qapi: Add a primitive to include other files from a QAPI schema file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The primitive uses JSON syntax, and include paths are relative to the file using the directive: { 'include': 'path/to/file.json' } Signed-off-by: LluĂ­s Vilanova Reviewed-by: Eric Blake Reviewed-by: Markus Armbruster Signed-off-by: Luiz Capitulino --- tests/qapi-schema/include-relpath.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/qapi-schema/include-relpath.json (limited to 'tests/qapi-schema/include-relpath.json') diff --git a/tests/qapi-schema/include-relpath.json b/tests/qapi-schema/include-relpath.json new file mode 100644 index 0000000000..05018f3908 --- /dev/null +++ b/tests/qapi-schema/include-relpath.json @@ -0,0 +1 @@ +{ 'include': 'include/relpath.json' } -- cgit v1.2.3