diff options
| author | Tyge Løvset <[email protected]> | 2020-12-08 20:32:10 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2020-12-08 20:32:10 +0100 |
| commit | 56dd4e057367689a89a170e255626591cdf5dc85 (patch) | |
| tree | 883a330826c3596f430c566d3de11117250beb83 /stc | |
| parent | bfd7248535ee2bc6c067cb56894966968dc1ee82 (diff) | |
| download | STC-modified-56dd4e057367689a89a170e255626591cdf5dc85.tar.gz STC-modified-56dd4e057367689a89a170e255626591cdf5dc85.zip | |
Updated api for with clone()
Diffstat (limited to 'stc')
| -rw-r--r-- | stc/cstr.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -156,9 +156,9 @@ STC_INLINE cstr_t* cstr_append(cstr_t* self, const char* str) {
return cstr_append_n(self, str, strlen(str));
}
-STC_INLINE cstr_t*
+STC_INLINE void
cstr_push_back(cstr_t* self, char value) {
- return cstr_append_n(self, &value, 1);
+ cstr_append_n(self, &value, 1);
}
STC_INLINE void
|
