From ce981fefe0c4d4f9c871b574a92eec06e3149e3e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 15 Mar 2016 14:52:47 -0400 Subject: Make sord_node_get_counted return byte count Also clarify formerly ambiguous documentation, and add sord_node_get_string_measured to get both byte and character counts. Technically, this breaks behaviour, but most (if not all) existing code that uses this function was actually expecting a byte count. This is unsurprising since a UTF-8 character count is almost always useless. This approach causes less problems in reality, since it fixes broken behaviour in the wild without requiring any changes in user code. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wscript') diff --git a/wscript b/wscript index 36ef0f3..5fcd76e 100644 --- a/wscript +++ b/wscript @@ -11,7 +11,7 @@ import waflib.extras.autowaf as autowaf # major increment <=> incompatible changes # minor increment <=> compatible changes (additions) # micro increment <=> no interface changes -SORD_VERSION = '0.14.1' +SORD_VERSION = '0.15.1' SORD_MAJOR_VERSION = '0' # Mandatory waf variables -- cgit v1.2.1