summaryrefslogtreecommitdiffhomepage
path: root/docs/csset_api.md
diff options
context:
space:
mode:
authorTyge Løvset <[email protected]>2023-05-20 00:40:54 +0200
committerTyge Løvset <[email protected]>2023-05-20 00:40:54 +0200
commitbb59d9c87f8d99f50c439351480c0ec8d6eea38e (patch)
treec8e273e7a63332ca37a5a15e9c81e534b8af7e44 /docs/csset_api.md
parent26513bb1352ab4e4ffe931aabd80868216afc551 (diff)
downloadSTC-modified-bb59d9c87f8d99f50c439351480c0ec8d6eea38e.tar.gz
STC-modified-bb59d9c87f8d99f50c439351480c0ec8d6eea38e.zip
Rename c_make() macro to c_init(). c_make still available, but deprecated.
Diffstat (limited to 'docs/csset_api.md')
-rw-r--r--docs/csset_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/csset_api.md b/docs/csset_api.md
index d095696c..dafe6670 100644
--- a/docs/csset_api.md
+++ b/docs/csset_api.md
@@ -86,7 +86,7 @@ int main ()
{
SSet second={0}, third={0}, fourth={0}, fifth={0};
- second = c_make(SSet, {"red", "green", "blue"});
+ second = c_init(SSet, {"red", "green", "blue"});
c_forlist (i, const char*, {"orange", "pink", "yellow"})
SSet_emplace(&third, *i.ref);