diff options
author | David Robillard <d@drobilla.net> | 2011-05-12 16:43:42 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-12 16:43:42 +0000 |
commit | d1a185c160bf8767e9001a6357f46ac6cfc6f94d (patch) | |
tree | 23bc229896bc71ec3316db2c6dc5bac779d35ed8 /src/sord_internal.h | |
parent | b1992a03139b64e718eeaf87686cce8c7c9134d1 (diff) | |
download | sord-d1a185c160bf8767e9001a6357f46ac6cfc6f94d.tar.gz sord-d1a185c160bf8767e9001a6357f46ac6cfc6f94d.tar.bz2 sord-d1a185c160bf8767e9001a6357f46ac6cfc6f94d.zip |
Expose sord_node_from_serd_node.
Remove _counted node constructor methods.
Use SerdNode directly for equivalent fields in SordNode.
git-svn-id: http://svn.drobilla.net/sord/trunk@110 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord_internal.h')
-rw-r--r-- | src/sord_internal.h | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/sord_internal.h b/src/sord_internal.h index 6a5daf8..bb1643a 100644 --- a/src/sord_internal.h +++ b/src/sord_internal.h @@ -24,14 +24,11 @@ /** Node */ struct SordNodeImpl { - uint8_t* buf; ///< Value (string) - const char* lang; ///< Literal language (interned string) - SordNode* datatype; ///< Literal data type (ID of a URI node, or 0) - size_t n_bytes; ///< Length of data in bytes (including NULL) - size_t refs; ///< Reference count (# of containing quads) - size_t refs_as_obj; ///< References as a quad object - SerdNodeFlags flags; ///< String properties - SordNodeType type; ///< SordNodeType + const char* lang; ///< Literal language (interned string) + SordNode* datatype; ///< Literal data type (ID of a URI node, or 0) + size_t refs; ///< Reference count (# of containing quads) + size_t refs_as_obj; ///< References as a quad object + SerdNode node; ///< Serd node }; const char* |