Displaying 2 results from an estimated 2 matches for "ignore_white".
2008 Jan 19
0
11 commits - libswfdec/swfdec_as_strings.c libswfdec/swfdec_sprite_movie_as.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml.h libswfdec/swfdec_xml_node.c libswfdec/swfdec_xml_node.h test/image test/swfdec_test.c test/swfdec_test_image.c test/trace
...)->mark (object);
}
@@ -186,7 +186,7 @@ swfdec_xml_get_ignoreWhite (SwfdecAsContext *cx, SwfdecAsObject *object,
if (!SWFDEC_IS_XML (object))
return;
- SWFDEC_AS_VALUE_SET_BOOLEAN (ret, SWFDEC_XML (object)->ignoreWhite);
+ SWFDEC_AS_VALUE_SET_BOOLEAN (ret, SWFDEC_XML (object)->ignore_white);
}
static void
@@ -207,7 +207,8 @@ swfdec_xml_set_ignoreWhite (SwfdecAsContext *cx, SwfdecAsObject *object,
if (SWFDEC_AS_VALUE_IS_OBJECT (&argv[0]))
swfdec_as_value_to_string (cx, &argv[0]);
- SWFDEC_XML (object)->ignoreWhite = swfdec_as_value_to_boolean (cx, &argv[0...
2007 Nov 30
0
36 commits - libswfdec/Makefile.am libswfdec/swfdec_as_context.c libswfdec/swfdec_as_date.c libswfdec/swfdec_as_initialize.as libswfdec/swfdec_as_initialize.h libswfdec/swfdec_as_strings.c libswfdec/swfdec_flash_security.c
...libswfdec/swfdec_xml.c
+++ b/libswfdec/swfdec_xml.c
@@ -847,3 +847,49 @@ swfdec_xml_construct (SwfdecAsContext *cx, SwfdecAsObject *object,
swfdec_as_value_to_string (cx, &argv[0]));
}
}
+
+SwfdecXml *
+swfdec_xml_new_no_properties (SwfdecAsContext *context, const char *str,
+ gboolean ignore_white)
+{
+ SwfdecAsValue val;
+ SwfdecXml *xml;
+ guint size;
+
+ g_return_val_if_fail (SWFDEC_IS_AS_CONTEXT (context), NULL);
+
+ size = sizeof (SwfdecXml);
+ if (!swfdec_as_context_use_mem (context, size))
+ return NULL;
+ xml = g_object_new (SWFDEC_TYPE_XML, NULL);
+ swfdec_as_object_add (...