summaryrefslogtreecommitdiffstats
path: root/example/extra_interfaces.d/xyz/openbmc_project/Example
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-04-12 18:05:45 +0000
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-04-12 19:57:36 +0000
commit3864659ed532ade6b06fa3e833a2bebb177e5d5f (patch)
tree0e8d5571457e97f8105e3a05fde9ba2330c9d8b7 /example/extra_interfaces.d/xyz/openbmc_project/Example
parente6b21c74581c30ea635aabbbc08d0a56f8e27063 (diff)
downloadphosphor-inventory-manager-3864659ed532ade6b06fa3e833a2bebb177e5d5f.tar.gz
phosphor-inventory-manager-3864659ed532ade6b06fa3e833a2bebb177e5d5f.zip
serialization: use the same inflection as sdbus++
When generating code sdbus++ uses python inflection to normalize names. Use the sdbus++ module that does this when we generate the code that calls methods in code generated by sdbus++. This avoids build failures like: gen_serialization.hpp:22:68: error: ‘const class sdbusplus::xyz::openbmc_project::Example::server::Iface2’ has no member named ‘example_Property4’; did you mean ‘exampleProperty4’? Change-Id: I4b6dbb1f977465ea176f27d021ed2633ae40c37b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'example/extra_interfaces.d/xyz/openbmc_project/Example')
-rw-r--r--example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml b/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
index cb81630..eecbd41 100644
--- a/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
+++ b/example/extra_interfaces.d/xyz/openbmc_project/Example/Iface2.interface.yaml
@@ -9,6 +9,10 @@ properties:
type: int64
description: >
An example int64 property.
+ - name: Example_Property4
+ type: int64
+ description: >
+ An example int64 property with an underscore in the name.
# vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
OpenPOWER on IntegriCloud