コード例 #1
0
 def f(arg):
     s = llunicode(hlunicode(arg))
     return len(s.chars)
コード例 #2
0
 def f(arg):
     s = llunicode(hlunicode(arg))
     return len(s.chars)
コード例 #3
0
 def test_hlunicode(self):
     s = mallocunicode(3)
     s.chars[0] = u"a"
     s.chars[1] = u"b"
     s.chars[2] = u"c"
     assert hlunicode(s) == u"abc"
コード例 #4
0
 def test_hlunicode(self):
     s = mallocunicode(3)
     s.chars[0] = u"a"
     s.chars[1] = u"b"
     s.chars[2] = u"c"
     assert hlunicode(s) == u"abc"