diff options
author | Dave Beckett <dave@dajobe.org> | 2010-02-18 13:20:33 -0800 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2010-02-18 13:20:33 -0800 |
commit | 3beafa17f40c675cf8ebd426872daaee40e730ab (patch) | |
tree | 46990b9a33bebc5db153c76fe9bd8c9b1652b6cd /src/raptor_json_writer.c | |
parent | 91ea93a81934a7b02d9927b0bf1d4e6a35ce6c85 (diff) | |
download | raptor-3beafa17f40c675cf8ebd426872daaee40e730ab.tar.gz |
Rename iostream writing methods to raptor_iostream_TYPE_write form.
(raptor_iostream_decimal_write): Renamed from
raptor_iostream_write_decimal()
(raptor_iostream_hexadecimal_write): Renamed from
raptor_iostream_format_hexadecimal()
(raptor_stringbuffer_write): Renamed from
raptor_iostream_write_stringbuffer()
(raptor_uri_write): Renamed from raptor_iostream_write_uri()
(raptor_xml_element_write): Renamed from
raptor_iostream_write_xml_element()
Diffstat (limited to 'src/raptor_json_writer.c')
-rw-r--r-- | src/raptor_json_writer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raptor_json_writer.c b/src/raptor_json_writer.c index 80e0f535..bdd2e91c 100644 --- a/src/raptor_json_writer.c +++ b/src/raptor_json_writer.c @@ -334,7 +334,7 @@ raptor_json_writer_literal_datatype(raptor_json_writer* json_writer, if(raptor_uri_equals(datatype, json_writer->xsd_integer_uri)) { long inum = strtol((const char*)s, NULL, 10); if(inum != LONG_MIN && inum != LONG_MAX) { - raptor_iostream_write_decimal(json_writer->iostr, inum); + raptor_iostream_decimal_write(inum, json_writer->iostr); written = 1; } |