summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2015-03-03 08:50:38 +0100
committerMurray Cumming <murrayc@murrayc.com>2015-03-03 09:20:35 +0100
commitfcd80be4a050f9ff72925ccbf3ae7ee50f862987 (patch)
tree526471552d1a6c42c37bb132295f06e0973b2a4a /glib
parentc4faf7c064bdc08359a11631a52254bae8de6998 (diff)
downloadglibmm-fcd80be4a050f9ff72925ccbf3ae7ee50f862987.tar.gz
OptionContext: Add get/set_strict_posix().
Diffstat (limited to 'glib')
-rw-r--r--glib/src/optioncontext.hg3
1 files changed, 3 insertions, 0 deletions
diff --git a/glib/src/optioncontext.hg b/glib/src/optioncontext.hg
index 60c35497..321bb66c 100644
--- a/glib/src/optioncontext.hg
+++ b/glib/src/optioncontext.hg
@@ -105,6 +105,9 @@ public:
_WRAP_METHOD(void set_ignore_unknown_options(bool ignore_unknown = true), g_option_context_set_ignore_unknown_options)
_WRAP_METHOD(bool get_ignore_unknown_options() const, g_option_context_get_ignore_unknown_options)
+ _WRAP_METHOD(void set_strict_posix(bool strict_posix = true), g_option_context_set_strict_posix)
+ _WRAP_METHOD(bool get_strict_posix() const, g_option_context_get_strict_posix)
+
#m4 _CONVERSION(`char**&',`gchar***',`&($3)')
_WRAP_METHOD(bool parse(int& argc, char**& argv), g_option_context_parse, errthrow)