All pastes #579392 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-20 17:15 UTC
rendered paste body
Index: xaml.cpp
===================================================================
--- xaml.cpp    (revision 80329)
+++ xaml.cpp    (working copy)
@@ -1,3 +1,4 @@
+#define DEBUG_XAML
 /*
  * xaml.cpp: xaml parser
  *
@@ -27,8 +28,8 @@
 
 #define READ_BUFFER 1024
 
-GHashTable *namespace_map = NULL;
-GHashTable *enum_map = NULL;
+static GHashTable *namespace_map = NULL;
+static GHashTable *enum_map = NULL;
 
 class XamlElementInfo;
 class XamlElementInstance;
@@ -38,8 +39,8 @@
 class XNamespace;
 
 
-DefaultNamespace *default_namespace = NULL;
-XNamespace *x_namespace = NULL;
+static DefaultNamespace *default_namespace = NULL;
+static XNamespace *x_namespace = NULL;
 
 
 typedef DependencyObject *(*create_item_func) (void);