| 90 | |
| 91 | |
| 92 | void string_reserve( string * self, size_t capacity ) |
| 93 | { |
| 94 | assert_invariants( self ); |
| 95 | if ( capacity <= self->capacity ) |
| 96 | return; |
| 97 | string_reserve_internal( self, capacity ); |
| 98 | assert_invariants( self ); |
| 99 | } |
| 100 | |
| 101 | |
| 102 | static void extend_full( string * self, char const * start, char const * finish ) |
no test coverage detected