diff options
author | David Robillard <d@drobilla.net> | 2007-01-12 18:12:06 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-01-12 18:12:06 +0000 |
commit | 4750da9b51db11a4ccd194441ee40636792d7839 (patch) | |
tree | 32d00064001484f51804f2a6cbe013a9c9293592 /src/RDFWriter.cpp | |
parent | af2f90a5920f5019ba462f86225d81926aa00d3b (diff) | |
download | raul-4750da9b51db11a4ccd194441ee40636792d7839.tar.gz raul-4750da9b51db11a4ccd194441ee40636792d7839.tar.bz2 raul-4750da9b51db11a4ccd194441ee40636792d7839.zip |
Control value persistence/serialization.
git-svn-id: http://svn.drobilla.net/lad/raul@252 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/RDFWriter.cpp')
-rw-r--r-- | src/RDFWriter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RDFWriter.cpp b/src/RDFWriter.cpp index 9540380..972286d 100644 --- a/src/RDFWriter.cpp +++ b/src/RDFWriter.cpp @@ -77,8 +77,8 @@ RDFWriter::start_to_filename(const string& filename) throw (std::logic_error) raptor_init(); _serializer = raptor_new_serializer(RDF_LANG); - setup_prefixes(); raptor_serialize_start_to_filename(_serializer, filename.c_str()); + setup_prefixes(); } @@ -97,11 +97,11 @@ RDFWriter::start_to_string() throw (std::logic_error) raptor_init(); _serializer = raptor_new_serializer(RDF_LANG); - setup_prefixes(); raptor_serialize_start_to_string(_serializer, NULL /*base_uri*/, (void**)&_string_output, NULL /*size*/); + setup_prefixes(); } |