From de5aa9e275107f59cdf12f76fe55895605ee7dc6 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 27 Sep 2011 22:26:16 +0000 Subject: Add serd_env_set_prefix_from_strings for convenience. Fix configure --debug. git-svn-id: http://svn.drobilla.net/serd/trunk@217 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- serd/serd.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'serd') diff --git a/serd/serd.h b/serd/serd.h index 583c6eec..0651d734 100644 --- a/serd/serd.h +++ b/serd/serd.h @@ -471,6 +471,15 @@ serd_env_set_prefix(SerdEnv* env, const SerdNode* name, const SerdNode* uri); +/** + Set a namespace prefix. +*/ +SERD_API +SerdStatus +serd_env_set_prefix_from_strings(SerdEnv* env, + const uint8_t* name, + const uint8_t* uri); + /** Qualify @c uri into a CURIE if possible. */ -- cgit v1.2.1