From 9f6becfdd80dfe4cf1d99d0aefa8b257eb1b0c8d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 May 2011 22:57:00 +0000 Subject: Preserve serd node flags for pretty serialisation. git-svn-id: http://svn.drobilla.net/sord/trunk@107 3d64ff67-21c5-427c-a301-fe4f08042e5a --- src/sord_internal.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/sord_internal.h') diff --git a/src/sord_internal.h b/src/sord_internal.h index 727701f..6935de8 100644 --- a/src/sord_internal.h +++ b/src/sord_internal.h @@ -24,12 +24,13 @@ /** 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) - SordNodeType type; ///< SordNodeType + 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) + SerdNodeFlags flags; ///< String properties + SordNodeType type; ///< SordNodeType }; const char* -- cgit v1.2.1