lib/string_exp: add a missing FFI `import UnicodeChar.len`
authorJean Privat <jean@pryen.org>
Thu, 28 Aug 2014 20:42:47 +0000 (16:42 -0400)
committerJean 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

index 323f0ab..bf49334 100644 (file)
@@ -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)){