Author: fejj
Date: 2007-06-20 15:58:32 -0400 (Wed, 20 Jun 2007)
New Revision: 80355
Modified:
trunk/moon/src/ChangeLog
trunk/moon/src/runtime.cpp
trunk/moon/src/runtime.h
Log:
2007-06-20 Jeffrey Stedfast <[EMAIL PROTECTED]>
* runtime.cpp (collection_iterator_move_next): If we can't iterate
to the next item, don't set current = NULL.
(dependency_object_get_name): New function needed for the binding.
Modified: trunk/moon/src/ChangeLog
===================================================================
--- trunk/moon/src/ChangeLog 2007-06-20 19:50:57 UTC (rev 80354)
+++ trunk/moon/src/ChangeLog 2007-06-20 19:58:32 UTC (rev 80355)
@@ -9,6 +9,7 @@
* runtime.cpp (collection_iterator_move_next): If we can't iterate
to the next item, don't set current = NULL.
+ (dependency_object_get_name): New function needed for the binding.
2007-06-20 Larry Ewing <[EMAIL PROTECTED]>
Modified: trunk/moon/src/runtime.cpp
===================================================================
--- trunk/moon/src/runtime.cpp 2007-06-20 19:50:57 UTC (rev 80354)
+++ trunk/moon/src/runtime.cpp 2007-06-20 19:58:32 UTC (rev 80355)
@@ -2042,6 +2042,12 @@
return Type::Find (obj->GetObjectType ())->name;
}
+Type::Kind
+dependency_object_get_kind (DependencyObject *obj)
+{
+ return obj->GetObjectType ();
+}
+
void
dependency_object_add_event_handler (DependencyObject *o, char *event,
EventHandler handler, gpointer closure)
{
Modified: trunk/moon/src/runtime.h
===================================================================
--- trunk/moon/src/runtime.h 2007-06-20 19:50:57 UTC (rev 80354)
+++ trunk/moon/src/runtime.h 2007-06-20 19:58:32 UTC (rev 80355)
@@ -301,6 +301,8 @@
DependencyObject *dependency_object_find_name (DependencyObject *obj, const
char *name, Type::Kind *element_type);
const char *dependency_object_get_name (DependencyObject *obj);
+Type::Kind dependency_object_get_kind (DependencyObject *obj);
+
void dependency_object_add_event_handler (DependencyObject *o, char *event,
EventHandler handler, gpointer closure);
void dependency_object_remove_event_handler (DependencyObject *o, char *event,
EventHandler handler, gpointer closure);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches