nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rename `NativeString` to `CString`
[nit.git]
/
lib
/
ios
/
ios.nit
diff --git
a/lib/ios/ios.nit
b/lib/ios/ios.nit
index
59778b4
..
b7ad962
100644
(file)
--- a/
lib/ios/ios.nit
+++ b/
lib/ios/ios.nit
@@
-30,3
+30,8
@@
end
redef class NSString
private fun nslog in "ObjC" `{ NSLog(@"%@", self); `}
end
+
+redef class CString
+ # FIXME temp workaround for #1945, bypass Unicode checks
+ redef fun char_at(pos) do return self[pos].ascii
+end