nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gamnit: make `SpriteSet` public so clients can use its services
[nit.git]
/
lib
/
mongodb
/
native_mongodb.nit
diff --git
a/lib/mongodb/native_mongodb.nit
b/lib/mongodb/native_mongodb.nit
index
cf674f5
..
05f2d19
100644
(file)
--- a/
lib/mongodb/native_mongodb.nit
+++ b/
lib/mongodb/native_mongodb.nit
@@
-123,10
+123,10
@@
extern class BSONObjectId `{ bson_oid_t * `}
`}
# Object id.
- fun id: String import CString.to_s_with_copy `{
+ fun id: String import CString.to_s `{
char str[25];
bson_oid_to_string(self, str);
- return CString_to_s_with_copy(str);
+ return CString_to_s(str);
`}
# Destroy `self`.