[perl-Glib-Object-Introspection] Add a FIXME comment to the stack handling code



commit 278008bef8083667cb721fda2b2a19d532336cb2
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Sun Apr 25 23:42:13 2010 +0200

    Add a FIXME comment to the stack handling code

 GObjectIntrospection.xs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/GObjectIntrospection.xs b/GObjectIntrospection.xs
index a52e26b..549db1a 100644
--- a/GObjectIntrospection.xs
+++ b/GObjectIntrospection.xs
@@ -1698,6 +1698,8 @@ PPCODE:
 		       g_type_info_get_tag (arg_type),
 		       g_type_tag_to_string (g_type_info_get_tag (arg_type)));
 
+		/* FIXME: Check that i+method_offset+stack_offset<items before
+		 * calling ST, and generate a usage methods otherwise. */
 		switch (g_arg_info_get_direction (arg_info)) {
 		    case GI_DIRECTION_IN:
 			sv_to_arg (ST (i + method_offset + stack_offset),



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