aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/qmi-codegen/utils.py
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2015-01-11 21:18:24 +0100
committerAleksander Morgado <aleksander@aleksander.es>2015-01-11 21:25:26 +0100
commit010286ba2b513a0d279cf2e08aa68987eca7ed23 (patch)
tree59045dfb60d73e9a9e4019902dff14c502f89531 /build-aux/qmi-codegen/utils.py
parentf96f36ed5013ecf4d60fb4ed626102ab153fbf1f (diff)
downloadexternal_libqmi-010286ba2b513a0d279cf2e08aa68987eca7ed23.zip
external_libqmi-010286ba2b513a0d279cf2e08aa68987eca7ed23.tar.gz
external_libqmi-010286ba2b513a0d279cf2e08aa68987eca7ed23.tar.bz2
qmi-codegen: avoid breaking API when defining strings in public structs
Commit b9c3701e337198 introduced an API break, where we would change a pointer to a heap allocated string and instead use a fixed size char array. This commit will instead recover the pointer to the string when used in a public struct, so that API isn't broken w.r.t. previous stable libqmi versions. The string is now properly allocated before reading and deallocated as part of the struct deallocation.
Diffstat (limited to 'build-aux/qmi-codegen/utils.py')
0 files changed, 0 insertions, 0 deletions