summaryrefslogtreecommitdiffhomepage
path: root/include/stc
diff options
context:
space:
mode:
Diffstat (limited to 'include/stc')
-rw-r--r--include/stc/csptr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stc/csptr.h b/include/stc/csptr.h
index 60b9997f..4637963e 100644
--- a/include/stc/csptr.h
+++ b/include/stc/csptr.h
@@ -25,7 +25,7 @@
#include "ccommon.h"
-/* csptr: std::shared_ptr -like type:
+/* csptr: shared_ptr type
#include <stc/csptr.h>
#include <stc/cstr.h>
@@ -36,7 +36,7 @@ Person Person_init(const char* name, const char* last) {
return (Person){.name = cstr_from(name), .last = cstr_from(last)};
}
void Person_del(Person* p) {
- printf("del: %s\n", p->name.str);
+ printf("del: %s %s\n", p->name.str, p->last.str);
c_del(cstr, &p->name, &p->last);
}