[glibmm] gmmproc: _STRUCT_NOT_HIDDEN: Make macro local to class only.



commit 5dc68d4c46c4f786e5df6595c4481e6e27d8f135
Author: Josà Alburquerque <jaalburqu svn gnome org>
Date:   Mon Jul 18 16:50:21 2011 -0400

    gmmproc: _STRUCT_NOT_HIDDEN: Make macro local to class only.
    
    	* tools/m4/class_shared.m4 (STRUCT_NOT_HIDDEN): Undefine the boolean
    	variable that signals that the typedefs generated by gmmproc should
    	not be generated once the _STRUCT_NOT_HIDDEN macro is used so that it
    	doesn't affect all the classes defined in a file.

 ChangeLog                |    9 +++++++++
 tools/m4/class_shared.m4 |    1 +
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 044aa6b..d08309f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,12 @@
+2011-07-18  Josà Alburquerque  <jaalburqu svn gnome org>
+
+	gmmproc: _STRUCT_NOT_HIDDEN: Make macro local to class only.
+
+	* tools/m4/class_shared.m4 (STRUCT_NOT_HIDDEN): Undefine the boolean
+	variable that signals that the typedefs generated by gmmproc should
+	not be generated once the _STRUCT_NOT_HIDDEN macro is used so that it
+	doesn't affect all the classes defined in a file.
+
 2011-07-12  Murray Cumming  <murrayc murrayc com>
 
 	AppInfo::launch(): Correct the parameter type.
diff --git a/tools/m4/class_shared.m4 b/tools/m4/class_shared.m4
index a84d75b..b1af688 100644
--- a/tools/m4/class_shared.m4
+++ b/tools/m4/class_shared.m4
@@ -253,6 +253,7 @@ typedef struct _`'__CNAME__ __CNAME__;
 typedef struct _`'__CNAME__`'Class __CNAME__`'Class;
 ')dnl
 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
+undefine(`__BOOL_STRUCT_NOT_HIDDEN__')dnl
 ')
 
 dnl _GTKMMPROC_WIN32_NO_WRAP



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