core: add random number generator
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef BLUELIB_MISC_H_
|
||||
#define BLUELIB_MISC_H_
|
||||
#ifndef BLUELIB_MISB_H_
|
||||
#define BLUELIB_MISB_H_
|
||||
|
||||
#define b_unbox(type, box, member) \
|
||||
((type *_Nonnull)((box) ? (uintptr_t)(box) - (offsetof(type, member)) : 0))
|
||||
@@ -10,4 +10,4 @@
|
||||
#define z__b_numargs(arg_type, ...) \
|
||||
(sizeof((arg_type[]) {__VA_ARGS__}) / sizeof(arg_type))
|
||||
|
||||
#endif // C_MISC_H_
|
||||
#endif // B_MISB_H_
|
||||
|
||||
Reference in New Issue
Block a user