big oops
This commit is contained in:
@@ -48,10 +48,10 @@ Standard: c23
|
||||
#define T_ typeof
|
||||
#define T_same(a,b) _Generic((a), typeof((b)): 1, default: 0)
|
||||
|
||||
#define r_(ptr) C_(T_(ptr[0])*r, ptr)
|
||||
#define v_(ptr) C_(T_(ptr[0])*v, ptr)
|
||||
#define tr_(type, ptr) C_(type*r, ptr)
|
||||
#define tv_(type, ptr) C_(type*v, ptr)
|
||||
#define r_(ptr) C_(T_(ptr[0]) *r, ptr)
|
||||
#define v_(ptr) C_(T_(ptr[0]) v*, ptr)
|
||||
#define tr_(type, ptr) C_(type *r, ptr)
|
||||
#define tv_(type, ptr) C_(type v*, ptr)
|
||||
|
||||
#define array_len(a) (U8)(sizeof(a) / sizeof(typeof((a)[0])))
|
||||
#define array_decl(type, ...) (type[]){__VA_ARGS__}
|
||||
|
||||
Reference in New Issue
Block a user