summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2022-06-15 16:36:43 +0200
committerGitHub <[email protected]>2022-06-15 16:36:43 +0200
commitfb39cd5db944d13b6de110885081e483234b453f (patch)
tree393267310bc86b6b17ad1813024d17ffc2164943 /docs
parent2e289403cdeb998a38fd9467f05e9e8525cb69e7 (diff)
downloadSTC-modified-fb39cd5db944d13b6de110885081e483234b453f.tar.gz
STC-modified-fb39cd5db944d13b6de110885081e483234b453f.zip
Update carc_api.md
Diffstat (limited to 'docs')
-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 2ab61791..bdab2533 100644
--- a/docs/carc_api.md
+++ b/docs/carc_api.md
@@ -13,7 +13,7 @@ All **carc** functions can be called by multiple threads on different instances
additional synchronization even if these instances are copies and share ownership of the same object.
**carc** uses thread-safe atomic reference counting, through the *carc_X_clone()* and *carc_X_drop()* methods.
-When declaring a container with shared pointers, define `i_val_bind` as the carc type, see example.
+When declaring a container with shared pointers, define `i_val_arcbox` with the carc type, see example.
See similar c++ class [std::shared_ptr](https://en.cppreference.com/w/cpp/memory/shared_ptr) for a functional reference, or Rust [std::sync::Arc](https://doc.rust-lang.org/std/sync/struct.Arc.html) / [std::rc::Rc](https://doc.rust-lang.org/std/rc/struct.Rc.html).