diff options
| author | Tyge Løvset <[email protected]> | 2021-03-03 11:28:58 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-03-03 11:37:19 +0100 |
| commit | 57f479e4099236a0fe2b7bbd95f0771f309aff2b (patch) | |
| tree | 39d42fcdb75c55eaac9972c2640a78d2d916ef1d /stc | |
| parent | 30cf6e3e080725539f7c09890a151d13eece7911 (diff) | |
| download | STC-modified-57f479e4099236a0fe2b7bbd95f0771f309aff2b.tar.gz STC-modified-57f479e4099236a0fe2b7bbd95f0771f309aff2b.zip | |
Removed cstr_t from docs (use cstr).
Diffstat (limited to 'stc')
| -rw-r--r-- | stc/cptr.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -29,7 +29,7 @@ #include <stc/cstr.h>
#include <stc/cvec.h>
-typedef struct { cstr_t name, last; } Person;
+typedef struct { cstr name, last; } Person;
Person* Person_make(Person* p, const char* name, const char* last) {
p->name = cstr_from(name), p->last = cstr_from(last);
@@ -100,7 +100,7 @@ int main() { #include <stc/cptr.h>
#include <stc/cstr.h>
-typedef struct { cstr_t name, last; } Person;
+typedef struct { cstr name, last; } Person;
Person* Person_make(Person* p, const char* name, const char* last) {
p->name = cstr_from(name), p->last = cstr_from(last);
|
