summaryrefslogtreecommitdiffstats
path: root/src/sord_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-11 22:57:00 +0000
committerDavid Robillard <d@drobilla.net>2011-05-11 22:57:00 +0000
commit9f6becfdd80dfe4cf1d99d0aefa8b257eb1b0c8d (patch)
treef9436edf22df60f6327babdcae00ea861d116a8f /src/sord_internal.h
parenta091efde0ab75c2ec2bfbb42cad083287fa891bc (diff)
downloadsord-9f6becfdd80dfe4cf1d99d0aefa8b257eb1b0c8d.tar.gz
sord-9f6becfdd80dfe4cf1d99d0aefa8b257eb1b0c8d.tar.bz2
sord-9f6becfdd80dfe4cf1d99d0aefa8b257eb1b0c8d.zip
Preserve serd node flags for pretty serialisation.
git-svn-id: http://svn.drobilla.net/sord/trunk@107 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord_internal.h')
-rw-r--r--src/sord_internal.h13
1 files changed, 7 insertions, 6 deletions
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*