diff options
author | Marcin Kolny <marcin.kolny@flytronic.pl> | 2015-07-29 13:06:43 +0200 |
---|---|---|
committer | Marcin Kolny <marcin.kolny@flytronic.pl> | 2015-07-30 12:03:13 +0200 |
commit | 0162a65ffc82c377ec5a4c78a3fe8092d62154f8 (patch) | |
tree | 06782a33bab0dae9a10e69ddfe84c2d9009c170f /tools | |
parent | 2c76615b0dcf5f56ec4d231a13c7fd4836bf792f (diff) | |
download | glibmm-0162a65ffc82c377ec5a4c78a3fe8092d62154f8.tar.gz |
generate_wrap_init.pl: Allow to use nested namespaces for whole module.
https://bugzilla.gnome.org/show_bug.cgi?id=753013
* tools/generate_wrap_init.pl.in: add support for nested namespaces in
--namespace parameter, i.e. --namespace=Gst::Bad. It requires to
store all classes from module at least in Gst::Bad namespace, but
allows to use this namespace in wrap_init.h class.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/generate_wrap_init.pl.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/generate_wrap_init.pl.in b/tools/generate_wrap_init.pl.in index 1381dfe3..f49fe2f2 100644 --- a/tools/generate_wrap_init.pl.in +++ b/tools/generate_wrap_init.pl.in @@ -66,7 +66,7 @@ while ($ARGV[0] =~ /^-/) { if ($ARGV[0] =~ /--namespace=(\S+)/) { - push(@namespace_whole, $1); + push(@namespace_whole, split('::', $1)); if($parent_dir eq "") { $parent_dir = lc($1) . "mm"; } |