diff options
author | Dave Beckett <dave@dajobe.org> | 2004-12-17 22:07:13 +0000 |
---|---|---|
committer | Dave Beckett <dave@dajobe.org> | 2004-12-17 22:07:13 +0000 |
commit | 8492fc6747796c8d7717004d12299f4f3a8b3c83 (patch) | |
tree | bfd7d056f242d91c0ca3c21c2963fed4646a5ffe /src/raptor.h | |
parent | 604a0b9ef48623337d699938939d96f51e8f1345 (diff) | |
download | raptor-8492fc6747796c8d7717004d12299f4f3a8b3c83.tar.gz |
Casts for c++
Diffstat (limited to 'src/raptor.h')
-rw-r--r-- | src/raptor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raptor.h b/src/raptor.h index e4da51b1..f13d6efa 100644 --- a/src/raptor.h +++ b/src/raptor.h @@ -293,7 +293,7 @@ RAPTOR_API int raptor_serialize_start(raptor_serializer *rdf_serializer, raptor_ RAPTOR_API int raptor_serialize_start_to_filename(raptor_serializer *rdf_serializer, const char *filename); RAPTOR_API int raptor_serialize_start_to_string(raptor_serializer *rdf_serializer, raptor_uri *uri, void **string_p, size_t *length_p); RAPTOR_API int raptor_serialize_start_to_file_handle(raptor_serializer *rdf_serializer, raptor_uri *uri, FILE *fh); -RAPTOR_API int raptor_serialize_set_namespace(raptor_serializer* rdf_serializer, raptor_uri *uri, const char *prefix); +RAPTOR_API int raptor_serialize_set_namespace(raptor_serializer* rdf_serializer, raptor_uri *uri, const unsigned char *prefix); RAPTOR_API int raptor_serialize_statement(raptor_serializer* rdf_serializer, const raptor_statement *statement); RAPTOR_API int raptor_serialize_end(raptor_serializer *rdf_serializer); RAPTOR_API raptor_iostream* raptor_serializer_get_iostream(raptor_serializer *serializer); @@ -417,7 +417,7 @@ RAPTOR_API raptor_uri* raptor_namespace_get_uri(const raptor_namespace *ns); RAPTOR_API const unsigned char* raptor_namespace_get_prefix(const raptor_namespace *ns); RAPTOR_API unsigned char *raptor_namespaces_format(const raptor_namespace *ns, size_t *length_p); RAPTOR_API int raptor_iostream_write_namespace(raptor_iostream* iostr, raptor_namespace *ns); -RAPTOR_API int raptor_new_namespace_parts_from_string(unsigned char *string, unsigned char **prefix, unsigned char **uri_string); +RAPTOR_API int raptor_new_namespace_parts_from_string(const unsigned char *string, unsigned char **prefix, unsigned char **uri_string); typedef struct raptor_stringbuffer_s raptor_stringbuffer; |