Displaying 2 results from an estimated 2 matches for "swfdec_xml_node_clone".
2007 Nov 02
0
5 commits - libswfdec/swfdec_text_field.c libswfdec/swfdec_text_field_movie_as.c libswfdec/swfdec_text_field_movie.c libswfdec/swfdec_xml.c libswfdec/swfdec_xml_node.c
...mp;argv[0])) {
swfdec_xml_parseXML (SWFDEC_XML (object),
swfdec_as_value_to_string (cx, &argv[0]));
diff --git a/libswfdec/swfdec_xml_node.c b/libswfdec/swfdec_xml_node.c
index a9ef3d0..71b7a5c 100644
--- a/libswfdec/swfdec_xml_node.c
+++ b/libswfdec/swfdec_xml_node.c
@@ -617,6 +617,8 @@ swfdec_xml_node_clone (SwfdecAsContext *cx, SwfdecXmlNode *node, gboolean deep)
g_assert (SWFDEC_IS_VALID_XML_NODE (node));
new = swfdec_xml_node_new (cx, SWFDEC_XML_NODE_ELEMENT, SWFDEC_AS_STR_EMPTY);
+ if (new == NULL)
+ return NULL;
new->valid = TRUE;
new->type = node->type;
@@ -635,6 +63...
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
...AsObject *object,
return;
SWFDEC_AS_VALUE_SET_OBJECT (ret,
- SWFDEC_AS_OBJECT (SWFDEC_XML_NODE (object)->childNodes));
+ SWFDEC_AS_OBJECT (SWFDEC_XML_NODE (object)->child_nodes));
}
SWFDEC_AS_NATIVE (253, 7, swfdec_xml_node_do_getNamespaceForPrefix)
@@ -660,7 +660,7 @@ swfdec_xml_node_clone (SwfdecAsContext *cx, SwfdecXmlNode *node, gboolean deep)
swfdec_as_array_push (new->children, &val);
}
- swfdec_xml_node_update_childNodes (new);
+ swfdec_xml_node_update_child_nodes (new);
}
return new;
@@ -704,7 +704,7 @@ swfdec_xml_node_removeNode (SwfdecXmlNo...