diff options
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);
|
