diff options
author | Dave Beckett <dave@dajobe.org> | 2010-02-03 11:28:41 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2010-02-03 11:28:41 -0800 |
commit | 95b5faa589fa2cea728fa816ac2c0987f1c74e39 (patch) | |
tree | c4000649f39175232d6d9b1a811841ff444f686e /src/raptor_serialize_rss.c | |
parent | c7112940a67baa9c83d85d3f04ebf4d4c70a5bdb (diff) | |
download | raptor-95b5faa589fa2cea728fa816ac2c0987f1c74e39.tar.gz |
Rename raptor_new_term_from_term to raptor_term_copy
(raptor_term_copy): Renamed from raptor_new_term_from_term
Updated all callers with new name.
All copy constructors should be raptor_CLASS_copy now.
Diffstat (limited to 'src/raptor_serialize_rss.c')
-rw-r--r-- | src/raptor_serialize_rss.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raptor_serialize_rss.c b/src/raptor_serialize_rss.c index 3198e8da..dcd6917f 100644 --- a/src/raptor_serialize_rss.c +++ b/src/raptor_serialize_rss.c @@ -166,7 +166,7 @@ raptor_rss10_set_item_group(raptor_rss10_serializer_context *rss_serializer, gm = (raptor_rss_group_map*)RAPTOR_CALLOC(raptor_rss_group_map, 1, sizeof(*gm)); gm->world = rss_serializer->world; - gm->term = raptor_new_term_from_term(term); + gm->term = raptor_term_copy(term); gm->item = item; raptor_avltree_add(rss_serializer->group_map, gm); @@ -794,7 +794,7 @@ raptor_rss10_serialize_statement(raptor_serializer* serializer, raptor_uri_equals(statement->object->value.uri, RAPTOR_RDF_Seq_URI(serializer->world))) { - rss_serializer->seq_term = raptor_new_term_from_term(statement->subject); + rss_serializer->seq_term = raptor_term_copy(statement->subject); handled = 1; goto savetriple; |