summaryrefslogtreecommitdiffhomepage
path: root/include/stc/cbox.h
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-04-27 19:46:01 +0200
committerTyge Løvset <[email protected]>2022-04-27 19:46:01 +0200
commit163831695b2ad211fc31ffb7410a82cd66a425e9 (patch)
tree9b2fdeba17944eadf267d7a770124599674f43bd /include/stc/cbox.h
parentedfcc712b48e2a582bcad1bc5a4102f18154e549 (diff)
downloadSTC-modified-163831695b2ad211fc31ffb7410a82cd66a425e9.tar.gz
STC-modified-163831695b2ad211fc31ffb7410a82cd66a425e9.zip
Docs only update for carc/cbox.
Diffstat (limited to 'include/stc/cbox.h')
-rw-r--r--include/stc/cbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cbox.h b/include/stc/cbox.h
index f34888e8..b4b583fa 100644
--- a/include/stc/cbox.h
+++ b/include/stc/cbox.h
@@ -48,7 +48,7 @@ void Person_drop(Person* p) {
int main() {
c_auto (PBox, p, q)
{
- p = PBox_from(Person_from("John Smiths", "[email protected]"));
+ p = PBox_make(Person_from("John Smiths", "[email protected]"));
q = PBox_clone(p);
cstr_assign(&q.get->name, "Joe Smiths");