[perl-Glib-Object-Introspection] Fail loudly on unhandled unions



commit c14be0bd28d0b0d5b1e7e82177d57272b273dcc9
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Thu Nov 11 22:30:04 2010 +0100

    Fail loudly on unhandled unions

 GObjectIntrospection.xs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index 098f0ba..d8d4d2f 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -456,7 +456,7 @@ struct_to_sv (GIBaseInfo* info,
 	    }
 
 	    case GI_INFO_TYPE_UNION:
-		/* FIXME */
+		ccroak ("%s: unions not handled yet", G_STRFUNC);
 
 	    default:
 		ccroak ("%s: unhandled info type %d", G_STRFUNC, info_type);
@@ -557,7 +557,7 @@ sv_to_struct (GIArgInfo * arg_info,
 	    }
 
 	    case GI_INFO_TYPE_UNION:
-		/* FIXME */
+		ccroak ("%s: unions not handled yet", G_STRFUNC);
 
 	    default:
 		ccroak ("%s: unhandled info type %d", G_STRFUNC, info_type);
@@ -1639,7 +1639,7 @@ store_methods (HV *namespaced_functions, GIBaseInfo *info, GIInfoType info_type)
 
 	    case GI_INFO_TYPE_UNION:
 	    {
-		/* FIXME */
+		ccroak ("%s: unions not handled yet", G_STRFUNC);
 		break;
 	    }
 



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