|
|
|
@ -7,6 +7,8 @@ extern "C" {
|
|
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
#include <stddef.h>
|
|
|
|
|
|
|
|
|
|
#ifndef _RNGXX_COMMON_MINIMAL
|
|
|
|
|
#include <stdlib.h>
|
|
|
|
|
|
|
|
|
|
#define IFUNC_NAME(name, ver) _impl__ ## name ## __ ## ver
|
|
|
|
@ -32,6 +34,8 @@ extern "C" {
|
|
|
|
|
|
|
|
|
|
#define _rng_internal v_internal
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#define DEF(s, n) typedef s ## int ## n ## _t s ## n
|
|
|
|
|
#define DEFINT(n) typedef uint ## n ## _t u ## n; \
|
|
|
|
|
typedef int ## n ## _t i ## n
|
|
|
|
@ -41,6 +45,7 @@ DEFINT(16);
|
|
|
|
|
DEFINT(32);
|
|
|
|
|
DEFINT(64);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
#else
|
|
|
|
|
#include <stdbool.h>
|
|
|
|
@ -65,7 +70,9 @@ typedef uintptr_t ptr_t;
|
|
|
|
|
#undef DEF
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
#ifndef _RNGXX_COMMON_MINIMAL
|
|
|
|
|
#define restrict __restrict__
|
|
|
|
|
#endif
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|