[glibmm] M4 Macros: Rename the _INITIALIZER macro to _INITIALIZATION.



commit 26529018517c845628a2b510198337cfaac55ac0
Author: José Alburquerque <jaalburqu svn gnome org>
Date:   Tue Jun 7 15:50:17 2011 -0400

    M4 Macros: Rename the _INITIALIZER macro to _INITIALIZATION.
    
    	* tools/m4/convert_base.m4 (_INITIALIZER): Rename the macro to
    	_INITIALIZATION to be more consistent with the _CONVERSION macro.

 ChangeLog                |    7 +++++++
 tools/m4/convert_base.m4 |    8 ++++----
 2 files changed, 11 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 331a120..e78a796 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2011-06-07  José Alburquerque  <jaalburqu svn gnome org>
 
+	M4 Macros: Rename the _INITIALIZER macro to _INITIALIZATION.
+
+	* tools/m4/convert_base.m4 (_INITIALIZER): Rename the macro to
+	_INITIALIZATION to be more consistent with the _CONVERSION macro.
+
+2011-06-07  José Alburquerque  <jaalburqu svn gnome org>
+
 	gmmproc: _WRAP_METHOD: Add the possibility of an output parameter.
 
 	* tools/pm/Output.pm (output_wrap_meth): Modified to test if there is
diff --git a/tools/m4/convert_base.m4 b/tools/m4/convert_base.m4
index c5786a3..81d8785 100644
--- a/tools/m4/convert_base.m4
+++ b/tools/m4/convert_base.m4
@@ -39,10 +39,10 @@ m4_ifelse(`$3',,,`define(CF`'__HASH2(`$1',`$2'),`$3')')
 #  _INITIALIZE(target_type, fromtype, output_param_name, c_return, wrap_line)
 #    Print an initialize statement from ctype to cpptype
 define(`_INITIALIZE',`dnl
-m4_ifelse(`$2',void,`$4',`dnl
+m4_ifelse(`$1',void,`$4',`dnl
 pushdef(`__INI',`IN`'__HASH2(`$1',`$2')')dnl
 m4_ifdef(__INI,`m4_indir(__INI,`$1',`$2',`$3', `$4')',`
-m4_errprint(`No initializer for type $1 from type $2 defined (line: $5, output param: $3, c return: $4)
+m4_errprint(`No initialization for type $1 from type $2 defined (line: $5, output param: $3, c return: $4)
 ')
 m4_m4exit(1)
 ')`'dnl
@@ -50,9 +50,9 @@ m4_m4exit(1)
 ')
 
 #
-#  Functions for populating initializer tables.
+#  Functions for populating initialization tables.
 #
-define(`_INITIALIZER',`
+define(`_INITIALIZATION',`
 m4_ifelse(`$3',,,`define(IN`'__HASH2(`$1',`$2'),`$3')')
 ')
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]