diff options
author | David Robillard <d@drobilla.net> | 2011-01-24 23:27:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-01-24 23:27:15 +0000 |
commit | e4daedb841acef2a4839a33e7c17ee8ea5fa6913 (patch) | |
tree | d24a5a955c3be4b5f2cc938ea5c090c9e80de06c /src/serdi.c | |
parent | 6903e56e2443a1a5b023d688cb7fd54e3580316d (diff) | |
download | serd-e4daedb841acef2a4839a33e7c17ee8ea5fa6913.tar.gz serd-e4daedb841acef2a4839a33e7c17ee8ea5fa6913.tar.bz2 serd-e4daedb841acef2a4839a33e7c17ee8ea5fa6913.zip |
Remove SerdString cruft.
git-svn-id: http://svn.drobilla.net/serd/trunk@54 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/serdi.c b/src/serdi.c index 810de74c..451905b8 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -96,24 +96,6 @@ copy_string(const uint8_t* str, size_t* n_bytes) return ret; } -#if 0 -static SerdNode -serd_node_copy(const SerdNode* node) -{ - SerdNode copy = *node; - uint8_t* buf = malloc(copy.n_bytes); - memcpy(buf, node->buf, copy.n_bytes); - copy.buf = buf; - return copy; -} - -static void -serd_node_free(SerdNode* node) -{ - free((uint8_t*)node->buf); // FIXME: const cast -} -#endif - static bool event_base(void* handle, const SerdNode* uri_node) |