summaryrefslogtreecommitdiffstats
path: root/src/sord_internal.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-09 20:44:04 +0000
committerDavid Robillard <d@drobilla.net>2012-08-09 20:44:04 +0000
commitbf538b543610873de9b0e4641139b331c600ab17 (patch)
treec363e907ba0c8d90dcb1b8b313d3174efd2d9c16 /src/sord_internal.h
parent7b21b438b02d8ff14ae079a0734b1a9e51b7c453 (diff)
downloadsord-bf538b543610873de9b0e4641139b331c600ab17.tar.gz
sord-bf538b543610873de9b0e4641139b331c600ab17.tar.bz2
sord-bf538b543610873de9b0e4641139b331c600ab17.zip
Get rid of language hash and store language inline with nodes.
git-svn-id: http://svn.drobilla.net/sord/trunk@249 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord_internal.h')
-rw-r--r--src/sord_internal.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sord_internal.h b/src/sord_internal.h
index bb1643a..2fd245d 100644
--- a/src/sord_internal.h
+++ b/src/sord_internal.h
@@ -24,11 +24,11 @@
/** Node */
struct SordNodeImpl {
- 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
+ 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
+ char lang[16]; ///< Language tag
+ SerdNode node; ///< Serd node
};
const char*