From a8fc8ac4e8c1481300e0d46bbd376f32ebeb4635 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Mon, 20 Feb 2023 14:44:25 +0100 Subject: Added c_eraseremove_if() for cvec, cdeq, cstack, cqueue in ccommon.h. Some cleanup. --- docs/cbox_api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/cbox_api.md') diff --git a/docs/cbox_api.md b/docs/cbox_api.md index eff0fbc1..8b03d004 100644 --- a/docs/cbox_api.md +++ b/docs/cbox_api.md @@ -42,7 +42,7 @@ cbox_X cbox_X_make(i_val val); // create a cbox f cbox_X cbox_X_clone(cbox_X other); // return deep copied clone cbox_X cbox_X_move(cbox_X* self); // transfer ownership to receiving cbox returned. self becomes NULL. void cbox_X_take(cbox_X* self, cbox_X unowned); // take ownership of unowned box object. -void cbox_X_assign(cbox_X* self, cbox_X* dying); // transfer ownership from dying to self; dying becomes NULL. +void cbox_X_assign(cbox_X* self, cbox_X* moved); // transfer ownership from moved to self; moved becomes NULL. void cbox_X_drop(cbox_X* self); // destruct the contained object and free its heap memory. void cbox_X_reset(cbox_X* self); -- cgit v1.2.3