nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge: Rename the extern class `NativeString` to `CString`
[nit.git]
/
lib
/
mongodb
/
mongodb.nit
diff --git
a/lib/mongodb/mongodb.nit
b/lib/mongodb/mongodb.nit
index
3469976
..
792b571
100644
(file)
--- a/
lib/mongodb/mongodb.nit
+++ b/
lib/mongodb/mongodb.nit
@@
-96,9
+96,9
@@
private class BSON
end
redef fun to_s do
- var ns = native.to_native_string
+ var ns = native.to_c_string
var res = ns.to_s_with_copy
- ns.free # manual free of gc allocated NativeString
+ ns.free # manual free of gc allocated CString
return res
end