diff options
author | David Robillard <d@drobilla.net> | 2011-02-16 00:14:25 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-16 00:14:25 +0000 |
commit | fbd7575e56f2349c5bb0fca249dffc25125042e4 (patch) | |
tree | 078f915a63e5b4616d6c976d8295447100bd0e58 /sord | |
parent | ef59f62b1b85e6992ac196ce9346165675604a94 (diff) | |
download | sord-fbd7575e56f2349c5bb0fca249dffc25125042e4.tar.gz sord-fbd7575e56f2349c5bb0fca249dffc25125042e4.tar.bz2 sord-fbd7575e56f2349c5bb0fca249dffc25125042e4.zip |
Remove unused node user data.
git-svn-id: http://svn.drobilla.net/sord/trunk@25 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r-- | sord/sord.h | 21 |
1 files changed, 4 insertions, 17 deletions
diff --git a/sord/sord.h b/sord/sord.h index 8c92a5c..41c23cf 100644 --- a/sord/sord.h +++ b/sord/sord.h @@ -109,11 +109,6 @@ sord_free(Sord sord); * @{ */ -/** Set the free function for node opaque user data. */ -SORD_API -void -sord_node_set_user_data_free_function(Sord sord, void (*f)(void*)); - /** Dereference an ID, loading node data into memory. * The returned node is allocated memory owned by @a sord, * it can only be freed by the caller via sord_clear_cache. @@ -126,10 +121,10 @@ sord_node_load(Sord sord, SordID id); SORD_API void sord_quad_load(Sord sord, - SordQuad tup, - SordNode* s, - SordNode* p, - SordNode* o); + SordQuad tup, + SordNode* s, + SordNode* p, + SordNode* o); /** Find a URI, creating a new one if necessary iff @a create is true. * Use sord_get_uri_counted instead if the length of @a str is known. @@ -191,14 +186,6 @@ SORD_API const uint8_t* sord_node_get_string_counted(SordNode node, size_t* len); -/** Set an opaque user pointer on a node. - * Sord does not interpret the user pointer in any way, but it will be - * preserved on the node until the cache is cleared. - */ -SORD_API -void -sord_node_set_user_data(SordNode node, void* user_data); - /** Get the opaque user pointer on a node. */ SORD_API void* |