-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The chunk size is the allocated size minus one (the terminating \0). Fix methods that don't have the same definition. Details at #538: - lvstring: drop `size` method and fix `capacity` - `size` is unnecessary and confusing (same as `length`) - `capacity` return value was wrong (off by one) - lvstring: fix `assign` implementations The chunk `size` is the allocated size minus one (the terminating `\0`). - lvstring: fix `resize` implementations The chunk `size` is the allocated size minus one (the terminating `\0`). - lvstring: fix `pack` implementations
- Loading branch information
1 parent
2312401
commit b39b72a
Showing
2 changed files
with
22 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters