aboutsummaryrefslogtreecommitdiffstats
path: root/build-aux/qmi-codegen
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@lanedo.com>2012-05-22 19:52:30 +0200
committerAleksander Morgado <aleksander@lanedo.com>2012-07-03 16:08:55 +0200
commit5701f9185b9b699cb99c3deef7d527a23bd8aaf7 (patch)
treefca4b52475c4018f18fe42dfea1e369bb475eb87 /build-aux/qmi-codegen
parent70f7423f74290c0ba40910ddb57d7c4962b5f0df (diff)
downloadexternal_libqmi-5701f9185b9b699cb99c3deef7d527a23bd8aaf7.zip
external_libqmi-5701f9185b9b699cb99c3deef7d527a23bd8aaf7.tar.gz
external_libqmi-5701f9185b9b699cb99c3deef7d527a23bd8aaf7.tar.bz2
qmi-codegen: use constant strings in interface
Diffstat (limited to 'build-aux/qmi-codegen')
-rw-r--r--build-aux/qmi-codegen/FieldString.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/build-aux/qmi-codegen/FieldString.py b/build-aux/qmi-codegen/FieldString.py
index 3dc8a97..10bb54a 100644
--- a/build-aux/qmi-codegen/FieldString.py
+++ b/build-aux/qmi-codegen/FieldString.py
@@ -35,6 +35,7 @@ class FieldString(Field):
# The field type will be the given string name
self.field_type = 'gchar *'
+ self.public_field_type = 'const gchar *'
# The string needs to get disposed
self.dispose = 'g_free'
# The string needs to be copied when set