summaryrefslogtreecommitdiffstats
path: root/sord
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-02-25 18:57:41 +0000
committerDavid Robillard <d@drobilla.net>2011-02-25 18:57:41 +0000
commitdb3d269f19b0e1c3cb55f4d6e7ae6acb03eb94c6 (patch)
treea14491036405eb05ebe5469f6907dfabfc20a97f /sord
parentc114aef6c587ae5f594075c7aa37604b6dcbf6d4 (diff)
downloadsord-db3d269f19b0e1c3cb55f4d6e7ae6acb03eb94c6.tar.gz
sord-db3d269f19b0e1c3cb55f4d6e7ae6acb03eb94c6.tar.bz2
sord-db3d269f19b0e1c3cb55f4d6e7ae6acb03eb94c6.zip
Use size_t for string lengths.
git-svn-id: http://svn.drobilla.net/sord/trunk@44 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'sord')
-rw-r--r--sord/sord.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sord/sord.h b/sord/sord.h
index 1258471..c2c69a4 100644
--- a/sord/sord.h
+++ b/sord/sord.h
@@ -148,7 +148,7 @@ SORD_API
SordNode
sord_new_uri_counted(SordWorld world,
const uint8_t* str,
- int str_len);
+ size_t str_len);
/**
Find a blank, creating a new one if necessary iff @a create is true.
@@ -166,7 +166,7 @@ SORD_API
SordNode
sord_new_blank_counted(SordWorld world,
const uint8_t* str,
- int str_len);
+ size_t str_len);
/**
Find a literal, creating a new one if necessary iff @a create is true.
@@ -188,7 +188,7 @@ SordNode
sord_new_literal_counted(SordWorld world,
SordNode datatype,
const uint8_t* str,
- int str_len,
+ size_t str_len,
const char* lang,
uint8_t lang_len);