diff options
| author | Patrick Williams <patrick@stwcx.xyz> | 2017-01-06 16:29:05 -0600 |
|---|---|---|
| committer | Patrick Williams <patrick@stwcx.xyz> | 2017-01-10 03:31:57 +0000 |
| commit | 8a30a8fb938ab3d48a73730d4f24d21ea0ef337d (patch) | |
| tree | 54bb867281ad45e1eeb2c9997e33f0c6fa58697a /tools | |
| parent | 572a8ea6a94c6a201b2f0536e22b9e0d0c02adb2 (diff) | |
| download | sdbusplus-8a30a8fb938ab3d48a73730d4f24d21ea0ef337d.tar.gz sdbusplus-8a30a8fb938ab3d48a73730d4f24d21ea0ef337d.zip | |
sdbus++: Use native types for obj-path and signature
Change-Id: I6075a6a52553d0dc7dca6abc3442282f91fb5d44
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/sdbusplus/property.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/sdbusplus/property.py b/tools/sdbusplus/property.py index ba98931..7ed53ed 100644 --- a/tools/sdbusplus/property.py +++ b/tools/sdbusplus/property.py @@ -113,8 +113,10 @@ class Property(NamedElement, Renderer): 'uint64': {'cppName': 'uint64_t', 'params': 0}, 'double': {'cppName': 'double', 'params': 0}, 'string': {'cppName': 'std::string', 'params': 0}, - 'path': {'cppName': 'std::string', 'params': 0}, - 'signature': {'cppName': 'std::string', 'params': 0}, + 'path': {'cppName': 'sdbusplus::message::object_path', + 'params': 0}, + 'signature': {'cppName': 'sdbusplus::message::signature', + 'params': 0}, 'array': {'cppName': 'std::vector', 'params': 1}, 'struct': {'cppName': 'std::tuple', 'params': -1}, 'variant': {'cppName': 'sdbusplus::message::variant', |

