summaryrefslogtreecommitdiff
path: root/tools/m4/class_gobject.m4
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@usa.net>2003-10-25 15:13:48 +0000
committerMurray Cumming <murrayc@src.gnome.org>2003-10-25 15:13:48 +0000
commit10aacebe698f429b52f631856dfcbf89cc71a110 (patch)
tree502896c126a03004ec0a5ccdd41d84f04df6c32e /tools/m4/class_gobject.m4
parentc11242deac719dc04995f76e3d94332c7bfcd48a (diff)
downloadglibmm-10aacebe698f429b52f631856dfcbf89cc71a110.tar.gz
output_wrap_create(): Used args_types_and_names_with_default_values()
2003-10-23 Murray Cumming <murrayc@usa.net> * tools/pm/Output.pm: output_wrap_create(): Used args_types_and_names_with_default_values() intead of args_types_and_names(), so that create() functions .in .h files have the default values as specified in _WRAP_CREATE() in .hg files. * tools/pm/WrapParser.pm: on_ignore_signals(): Strip the quotes, to make _IGNORE_SIGNAL() really work in .hg files.
Diffstat (limited to 'tools/m4/class_gobject.m4')
-rw-r--r--tools/m4/class_gobject.m46
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/m4/class_gobject.m4 b/tools/m4/class_gobject.m4
index b67cc02f..edcafbe4 100644
--- a/tools/m4/class_gobject.m4
+++ b/tools/m4/class_gobject.m4
@@ -45,14 +45,14 @@ dnl _POP()
dnl ')
dnl
-dnl _CREATE_METHOD(args_type_and_name, args_name_only);
+dnl _CREATE_METHOD(args_type_and_name_hpp, args_type_and_name_cpp,args_name_only);
dnl
define(`_CREATE_METHOD',`
static Glib::RefPtr<`'__CPPNAME__`'> create(`'$1`');
_PUSH(SECTION_CC)
-Glib::RefPtr<`'__CPPNAME__`'> __CPPNAME__`'::create(`'$1`')
+Glib::RefPtr<`'__CPPNAME__`'> __CPPNAME__`'::create(`'$2`')
{
- return Glib::RefPtr<`'__CPPNAME__`'>( new __CPPNAME__`'(`'$2`') );
+ return Glib::RefPtr<`'__CPPNAME__`'>( new __CPPNAME__`'(`'$3`') );
}
_POP()
')