Skip to content

Commit 857523a

Browse files
author
Charles PIGNEROL
committed
Version 6.14.2. Swig binding fix regarding the UTFString class.
1 parent 5835760 commit 857523a

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

cmake/version.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
set (TK_UTIL_MAJOR_VERSION "6")
66
set (TK_UTIL_MINOR_VERSION "14")
7-
set (TK_UTIL_RELEASE_VERSION "1")
7+
set (TK_UTIL_RELEASE_VERSION "2")
88
set (TK_UTIL_VERSION ${TK_UTIL_MAJOR_VERSION}.${TK_UTIL_MINOR_VERSION}.${TK_UTIL_RELEASE_VERSION})
99

1010
set (TK_UTIL_SCRIPTING_MAJOR_VERSION ${TK_UTIL_MAJOR_VERSION})

src/TkUtilScripting/TkUtilScripting.i

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
using namespace TkUtil;
1212
%} // module TkUtil
1313

14+
// v 6.14.2 : possible usage de :
15+
// s = UTF8String ("Une chaîne de caractères", Charset.UTF_8)
16+
// print (s.utf8 ( ))
17+
%include "std_string.i" // v 6.14.2
18+
1419
%include TkUtil/UTF8String.h
1520
%include TkUtil/ReferencedObject.h
1621
%include TkUtil/Version.h

versions.txt

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
Version 6.14.2 : 13/03/26
2+
=================
3+
4+
Correctif binding swig concernant la classe UTFString. En python on peut maintenant effectuer :
5+
6+
s = UTF8String ("Une chaîne de caractères", Charset.UTF_8)
7+
print (s.utf8 ( ))
8+
9+
voire même :
10+
11+
s = UTF8String ( )
12+
appelCplusPlus (s)
13+
print (s.utf8 ( ))
14+
15+
116
Version 6.14.1 : 20/02/26
217
=================
318

0 commit comments

Comments
 (0)