diff options
| author | Tyge Løvset <[email protected]> | 2021-09-10 19:01:45 +0200 |
|---|---|---|
| committer | Tyge Løvset <[email protected]> | 2021-09-10 19:01:45 +0200 |
| commit | ad4c5377cf7e2f5812e2053e51550239fcd38d45 (patch) | |
| tree | bb74419144b0326ec58458650b557e5b243ae27b /include/stc/cstack.h | |
| parent | 2dcac231b5eea841f7bc607f0ddbc729bc41a9e5 (diff) | |
| download | STC-modified-ad4c5377cf7e2f5812e2053e51550239fcd38d45.tar.gz STC-modified-ad4c5377cf7e2f5812e2053e51550239fcd38d45.zip | |
Added support for cqueue.h Added test.
Diffstat (limited to 'include/stc/cstack.h')
| -rw-r--r-- | include/stc/cstack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/stc/cstack.h b/include/stc/cstack.h index ea116be2..c0d89c78 100644 --- a/include/stc/cstack.h +++ b/include/stc/cstack.h @@ -95,7 +95,7 @@ STC_INLINE cx_iter_t cx_memb(_begin)(const Self* self) STC_INLINE cx_iter_t cx_memb(_end)(const Self* self)
{ return c_make(cx_iter_t){self->data + self->size}; }
STC_INLINE void cx_memb(_next)(cx_iter_t* it) { ++it->ref; }
-STC_INLINE cx_iter_t cx_memb(_advance)(cx_iter_t it, intptr_t offs)
+STC_INLINE cx_iter_t cx_memb(_advance)(cx_iter_t it, intptr_t offs)
{ it.ref += offs; return it; }
#include "template.h"
|
