| 91 | |
| 92 | |
| 93 | void string_reserve( string * self, int32_t capacity ) |
| 94 | { |
| 95 | assert_invariants( self ); |
| 96 | if ( capacity <= self->capacity ) |
| 97 | return; |
| 98 | string_reserve_internal( self, capacity ); |
| 99 | assert_invariants( self ); |
| 100 | } |
| 101 | |
| 102 | |
| 103 | static void maybe_reserve( string * self, int32_t new_size ) |
no test coverage detected