nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e393f49
)
lib/string_exp: add a missing FFI `import UnicodeChar.len`
author
Jean Privat
<jean@pryen.org>
Thu, 28 Aug 2014 20:42:47 +0000
(16:42 -0400)
committer
Jean Privat
<jean@pryen.org>
Fri, 29 Aug 2014 03:31:04 +0000
(23:31 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/string_experimentations/utf8_noindex.nit
patch
|
blob
|
history
diff --git
a/lib/string_experimentations/utf8_noindex.nit
b/lib/string_experimentations/utf8_noindex.nit
index
323f0ab
..
bf49334
100644
(file)
--- a/
lib/string_experimentations/utf8_noindex.nit
+++ b/
lib/string_experimentations/utf8_noindex.nit
@@
-73,7
+73,7
@@
extern class UnicodeChar `{ uint32_t* `}
# Returns the Unicode code point representing the character
#
# Note : A unicode character might not be a visible glyph, but it will be used to determine canonical equivalence
- fun code_point: Int `{
+ fun code_point: Int import UnicodeChar.len `{
uint32_t val = *recv;
uint32_t ret = 0;
switch(UnicodeChar_len(recv)){