diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2015-01-11 21:18:24 +0100 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2015-01-11 21:25:26 +0100 |
commit | 010286ba2b513a0d279cf2e08aa68987eca7ed23 (patch) | |
tree | 59045dfb60d73e9a9e4019902dff14c502f89531 /NEWS | |
parent | f96f36ed5013ecf4d60fb4ed626102ab153fbf1f (diff) |
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 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -2,11 +2,6 @@ Overview of changes in libqmi 1.12.0 ---------------------------------------- -This version comes with one API break: -* The size of the `QmiMessageNasGetCellLocationInfoOutputGeranInfoCellElement' - public struct changes, as the `plmn' field is now a fixed-size array of 4 - bytes instead of a pointer to a char array. - * New `--enable-qmi-username' option during configure, which allows specifying which will be the user owning the /dev/cdc-wdm character devices of all QMI modems (udev rules are installed to change file ownership). If this option is |