diff options
| author | Tyge Løvset <[email protected]> | 2023-05-20 00:40:54 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2023-05-20 00:40:54 +0200 |
| commit | bb59d9c87f8d99f50c439351480c0ec8d6eea38e (patch) | |
| tree | c8e273e7a63332ca37a5a15e9c81e534b8af7e44 /docs/cspan_api.md | |
| parent | 26513bb1352ab4e4ffe931aabd80868216afc551 (diff) | |
| download | STC-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/cspan_api.md')
| -rw-r--r-- | docs/cspan_api.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cspan_api.md b/docs/cspan_api.md index 10565b0f..ec203460 100644 --- a/docs/cspan_api.md +++ b/docs/cspan_api.md @@ -143,8 +143,8 @@ using_cspan3(Span, int); // Shorthand to define Span, Span2, and Span3 int main() { - // c_make() can create any STC container/span from an initializer list: - Span span = c_make(Span, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, + // c_init() can create any STC container/span from an initializer list: + Span span = c_init(Span, {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24}); // create a 3d cspan: Span3 span3 = cspan_md(span.data, 2, 4, 3); |
