0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
This commit is contained in:
dwight 2010-12-01 09:52:19 -05:00
parent 65f426f218
commit 984e62f550

View File

@ -81,7 +81,9 @@ namespace mongo {
}
}
/* leave room for some stuff later */
/** leave room for some stuff later
@return point to region that was skipped. pointer may change later (on realloc), so for immediate use only
*/
char* skip(int n) { return grow(n); }
/* note this may be deallocated (realloced) if you keep writing. */