diff options
author | David Robillard <d@drobilla.net> | 2011-04-28 03:42:36 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-28 03:42:36 +0000 |
commit | 688537cf5ccb709c23359eb855946bedd5b65fcf (patch) | |
tree | 6a690c182bcd11e7d85b5993c21b473b16470ee7 /src/sord_internal.h | |
parent | b9fae06dc9459b7d3b87c561434ddc2ced821f87 (diff) | |
download | sord-688537cf5ccb709c23359eb855946bedd5b65fcf.tar.gz sord-688537cf5ccb709c23359eb855946bedd5b65fcf.tar.bz2 sord-688537cf5ccb709c23359eb855946bedd5b65fcf.zip |
Use size_t for node and triple counts.
git-svn-id: http://svn.drobilla.net/sord/trunk@97 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'src/sord_internal.h')
-rw-r--r-- | src/sord_internal.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sord_internal.h b/src/sord_internal.h index 567b56c..e4d858b 100644 --- a/src/sord_internal.h +++ b/src/sord_internal.h @@ -22,15 +22,13 @@ #include "sord/sord.h" -typedef intptr_t SordCount; ///< Count of nodes or triples - /** 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 terminator) - SordCount refs; ///< Reference count (i.e. number of containing quads) + size_t refs; ///< Reference count (i.e. number of containing quads) SordNodeType type; ///< SordNodeType }; |