2021-01-11 13:47:14 +00:00
|
|
|
#pragma once
|
|
|
|
|
2021-05-13 12:17:44 +00:00
|
|
|
#include <assert.h>
|
2021-01-10 16:52:20 +00:00
|
|
|
#include <stdint.h>
|
2021-05-10 06:28:56 +00:00
|
|
|
#include <stddef.h>
|
2021-01-14 16:03:10 +00:00
|
|
|
#include <inttypes.h>
|
2021-05-10 06:28:56 +00:00
|
|
|
|
|
|
|
#define ZPL_NANO
|
|
|
|
#include "zpl.h"
|
2021-05-13 12:17:44 +00:00
|
|
|
|
|
|
|
#define defer_var ZPL_CONCAT(_i_,__LINE__)
|
|
|
|
#define defer(s,e) for ( \
|
|
|
|
uint32_t defer_var = (s, 0); \
|
|
|
|
!defer_var; \
|
|
|
|
(defer_var += 1), e) \
|