diff options
| author | Tyge Lovset <[email protected]> | 2022-12-20 23:31:51 +0100 |
|---|---|---|
| committer | Tyge Lovset <[email protected]> | 2022-12-20 23:31:51 +0100 |
| commit | 5f57d597cd27aef55adbcb3b452973b0c6e33667 (patch) | |
| tree | dfd59c2fd0e36a6ef37912a9d0cc5a65970f1524 /include/stc/cvec.h | |
| parent | 1763be8c8cbbc0896477fcf924edd4180d1345a9 (diff) | |
| download | STC-modified-5f57d597cd27aef55adbcb3b452973b0c6e33667.tar.gz STC-modified-5f57d597cd27aef55adbcb3b452973b0c6e33667.zip | |
Restructured folders: examples, benchmarks, tests into misc folder.
Diffstat (limited to 'include/stc/cvec.h')
| -rw-r--r-- | include/stc/cvec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/stc/cvec.h b/include/stc/cvec.h index ae6e452c..5eaefa04 100644 --- a/include/stc/cvec.h +++ b/include/stc/cvec.h @@ -71,7 +71,7 @@ int main() { #ifndef _i_prefix #define _i_prefix cvec_ #endif -#include "template.h" +#include "priv/template.h" #if !c_option(c_is_forward) _cx_deftypes(_c_cvec_types, _cx_self, i_key); @@ -256,7 +256,7 @@ _cx_memb(_sort)(_cx_self* self) { STC_DEF _cx_self _cx_memb(_init)(void) { - return (_cx_self){NULL}; + return c_INIT(_cx_self){NULL}; } STC_DEF void @@ -420,4 +420,4 @@ _cx_memb(_value_cmp)(const _cx_value* x, const _cx_value* y) { #endif // !c_no_cmp #endif // i_implement #define CVEC_H_INCLUDED -#include "template.h" +#include "priv/template.h" |
