diff options
| author | Tyge Løvset <[email protected]> | 2021-12-28 18:36:37 +0100 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-12-28 18:36:37 +0100 |
| commit | 390e99e911c46ad59ecb966bffb275c9cba92fe1 (patch) | |
| tree | 6a44f3911fcfe8757409a01613162504d0fb04a3 /include | |
| parent | dbeb998018ce3a739500f9a29e9b62639de2c49f (diff) | |
| download | STC-modified-390e99e911c46ad59ecb966bffb275c9cba92fe1.tar.gz STC-modified-390e99e911c46ad59ecb966bffb275c9cba92fe1.zip | |
Some renaming of new features in previous commit.
Diffstat (limited to 'include')
| -rw-r--r-- | include/stc/ccommon.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stc/ccommon.h b/include/stc/ccommon.h index 8ae0dfae..b2ae7b97 100644 --- a/include/stc/ccommon.h +++ b/include/stc/ccommon.h @@ -169,6 +169,7 @@ STC_INLINE uint64_t c_default_hash(const void* key, size_t len) { #define c_autovar(declvar, ...) for (declvar, *_c_ii = NULL; !_c_ii; ++_c_ii, __VA_ARGS__)
#define c_autoscope(init, ...) for (int _c_ii = (init, 0); !_c_ii; ++_c_ii, __VA_ARGS__)
#define c_autodefer(...) for (int _c_ii = 0; !_c_ii; ++_c_ii, __VA_ARGS__)
+#define c_breakauto continue
#define c_auto(...) c_MACRO_OVERLOAD(c_auto, __VA_ARGS__)
#define c_auto_2(C, a) \
|
