summaryrefslogtreecommitdiffhomepage
path: root/docs/carc_api.md
diff options
context:
space:
mode:
authorTyge Lovset <[email protected]>2022-04-19 21:15:49 +0200
committerTyge Lovset <[email protected]>2022-04-19 21:15:49 +0200
commita9c0f215e3e98c165de07d9661595b0dd64cc4fb (patch)
tree3478ba72d54a13cf777c5cbad1546630cee311bf /docs/carc_api.md
parentba6da4261792bd5da7da952877c299cd5c7a607b (diff)
downloadSTC-modified-a9c0f215e3e98c165de07d9661595b0dd64cc4fb.tar.gz
STC-modified-a9c0f215e3e98c165de07d9661595b0dd64cc4fb.zip
Renamed cbox_new/carc_new to cbox_make/carc_make. Disabled container emplace on arcbox elements.
Diffstat (limited to 'docs/carc_api.md')
-rw-r--r--docs/carc_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/carc_api.md b/docs/carc_api.md
index 8fb752f6..23c7ad0a 100644
--- a/docs/carc_api.md
+++ b/docs/carc_api.md
@@ -37,7 +37,7 @@ See similar c++ class [std::shared_ptr](https://en.cppreference.com/w/cpp/memory
## Methods
```c
carc_X carc_X_init(); // empty shared pointer
-carc_X carc_X_new(i_valraw raw); // like carc_X_from(), but construct owned value from raw.
+carc_X carc_X_make(i_valraw raw); // like carc_X_from(), but construct owned value from raw.
carc_X carc_X_from(i_val val); // create new heap allocated object. Take ownership of val.
carc_X carc_X_from_ptr(i_val* p); // create a carc from raw pointer. Takes ownership of p.