From 86e095df809f8d15b54ee62801f3deb829adfae9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 Apr 2011 04:45:59 +0000 Subject: Const-correct node API. git-svn-id: http://svn.drobilla.net/sord/trunk@98 3d64ff67-21c5-427c-a301-fe4f08042e5a --- sord/sord.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sord/sord.h') diff --git a/sord/sord.h b/sord/sord.h index 587456b..8d31085 100644 --- a/sord/sord.h +++ b/sord/sord.h @@ -91,7 +91,7 @@ typedef struct SordNodeImpl SordNode; Nodes are ordered (S P O G). The ID of the default graph is 0. */ -typedef SordNode* SordQuad[4]; +typedef const SordNode* SordQuad[4]; /** Index into a SordQuad. @@ -220,7 +220,7 @@ sord_new_literal_counted(SordWorld* world, */ SORD_API SordNode* -sord_node_copy(SordNode* node); +sord_node_copy(const SordNode* node); /** Free a node (i.e. drop a reference). -- cgit v1.2.1