summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sord/sord.h5
-rw-r--r--src/sord_internal.h2
2 files changed, 3 insertions, 4 deletions
diff --git a/sord/sord.h b/sord/sord.h
index 28f87ed..8c4b837 100644
--- a/sord/sord.h
+++ b/sord/sord.h
@@ -54,10 +54,7 @@
typedef struct _Sord* Sord; ///< Quad store
typedef struct _SordIter* SordIter; ///< Store iterator
typedef struct _SordNode* SordNode; ///< Node
-
-typedef void* SordID; ///< Integer ID of a Node (0 reserved for NULL)
-typedef intptr_t SordCount; ///< Count of nodes or triples
-
+typedef void* SordID; ///< Integer ID of a Node (0 reserved for NULL)
/** Quad of IDs (statement), or a quad pattern.
* Nodes are ordered (S P O G). The ID of the default graph is 0.
diff --git a/src/sord_internal.h b/src/sord_internal.h
index 86ee958..517f405 100644
--- a/src/sord_internal.h
+++ b/src/sord_internal.h
@@ -23,6 +23,8 @@
#include "sord/sord.h"
+typedef intptr_t SordCount; ///< Count of nodes or triples
+
/** Node */
struct _SordNode {
SordNodeType type; ///< SordNodeType