mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-30 16:47:48 +00:00
103 lines
5.4 KiB
C
103 lines
5.4 KiB
C
/* Generated by Nim Compiler v1.2.6 */
|
|
/* (c) 2020 Andreas Rumpf */
|
|
/* The generated code is subject to the original license. */
|
|
/* Compiled for: Linux, amd64, gcc */
|
|
/* Command for C compiler:
|
|
gcc -c -w -pthread -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace -I/home/runner/work/nim-waku/nim-waku/vendor/nim-libbacktrace/install/usr/include -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/src -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/inc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/csources/tools -DBR_USE_UNIX_TIME=1 -DBR_USE_URANDOM=1 -DBR_LE_UNALIGNED=1 -DBR_64=1 -DBR_amd64=1 -DBR_INT128=1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-bearssl/bearssl/certs -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1 -I/home/runner/work/nim-waku/nim-waku/vendor/nim-secp256k1/secp256k1_wrapper/secp256k1/src -DHAVE_CONFIG_H -DHAVE_BUILTIN_EXPECT -march=native -g3 -Og -O3 -fno-strict-aliasing -fno-ident -I/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib -I/home/runner/work/nim-waku/nim-waku/waku/v2/node -o nimcache/release/quicksim2/@m..@s..@s..@svendor@snimcrypto@snimcrypto@ssysrand.nim.c.o nimcache/release/quicksim2/@m..@s..@s..@svendor@snimcrypto@snimcrypto@ssysrand.nim.c */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#undef LANGUAGE_C
|
|
#undef MIPSEB
|
|
#undef MIPSEL
|
|
#undef PPC
|
|
#undef R3000
|
|
#undef R4000
|
|
#undef i386
|
|
#undef linux
|
|
#undef mips
|
|
#undef near
|
|
#undef far
|
|
#undef powerpc
|
|
#undef unix
|
|
#define nimfr_(x, y)
|
|
#define nimln_(x, y)
|
|
typedef struct tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef struct RootObj RootObj;
|
|
typedef NU8 tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A;
|
|
typedef NU8 tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ;
|
|
typedef N_NIMCALL_PTR(void, tyProc__ojoeKfW4VYIm36I9cpDTQIg) (void* p, NI op);
|
|
typedef N_NIMCALL_PTR(void*, tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ) (void* p);
|
|
struct TNimType {NI size;
|
|
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
|
|
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
|
|
TNimType* base;
|
|
TNimNode* node;
|
|
void* finalizer;
|
|
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
|
|
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
|
|
NCSTRING name;
|
|
TNimType* nextType;
|
|
NI instances;
|
|
NI sizes;
|
|
};
|
|
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
|
|
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
|
|
NI offset;
|
|
TNimType* typ;
|
|
NCSTRING name;
|
|
NI len;
|
|
TNimNode** sons;
|
|
};
|
|
struct RootObj {TNimType* m_type;};
|
|
struct tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ { RootObj Sup;NIM_BOOL getRandomPresent;
|
|
};
|
|
typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void);
|
|
static N_NIMCALL(void, Marker_tyRef__9aWCZSregXolmau8IgbwrpA)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
|
|
static N_NIMCALL(void, TM__Wf79cOmDFYPhaz9b70xI2wvQ_2)(void);
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimRegisterThreadLocalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc);
|
|
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
|
|
N_LIB_PRIVATE TNimType NTI__X9aKjcE9bDr41cpowCIZoGpQ_;
|
|
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
|
|
N_LIB_PRIVATE TNimType NTI__9aWCZSregXolmau8IgbwrpA_;
|
|
N_LIB_PRIVATE NIM_THREADVAR tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ* gSystemRng__Y05jRhSnzojCnuG6DrEsCw;
|
|
extern TNimType* nimTypeRoot;
|
|
static N_NIMCALL(void, Marker_tyRef__9aWCZSregXolmau8IgbwrpA)(void* p, NI op) {
|
|
tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ* a;
|
|
a = (tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ*)p;
|
|
}
|
|
static N_NIMCALL(void, TM__Wf79cOmDFYPhaz9b70xI2wvQ_2)(void) {
|
|
nimGCvisit((void*)gSystemRng__Y05jRhSnzojCnuG6DrEsCw, 0);}
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimcrypto_sysrandInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
{
|
|
nimRegisterThreadLocalMarker(TM__Wf79cOmDFYPhaz9b70xI2wvQ_2);}
|
|
}
|
|
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimcrypto_sysrandDatInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
static TNimNode TM__Wf79cOmDFYPhaz9b70xI2wvQ_0[1];NTI__X9aKjcE9bDr41cpowCIZoGpQ_.size = sizeof(tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ);
|
|
NTI__X9aKjcE9bDr41cpowCIZoGpQ_.kind = 17;
|
|
NTI__X9aKjcE9bDr41cpowCIZoGpQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
|
|
NTI__X9aKjcE9bDr41cpowCIZoGpQ_.flags = 1;
|
|
NTI__X9aKjcE9bDr41cpowCIZoGpQ_.name = "SystemRng:ObjectType";
|
|
NTI__X9aKjcE9bDr41cpowCIZoGpQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__X9aKjcE9bDr41cpowCIZoGpQ_;
|
|
TM__Wf79cOmDFYPhaz9b70xI2wvQ_0[0].kind = 1;
|
|
TM__Wf79cOmDFYPhaz9b70xI2wvQ_0[0].offset = offsetof(tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ, getRandomPresent);
|
|
TM__Wf79cOmDFYPhaz9b70xI2wvQ_0[0].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__Wf79cOmDFYPhaz9b70xI2wvQ_0[0].name = "getRandomPresent";
|
|
NTI__X9aKjcE9bDr41cpowCIZoGpQ_.node = &TM__Wf79cOmDFYPhaz9b70xI2wvQ_0[0];
|
|
NTI__9aWCZSregXolmau8IgbwrpA_.size = sizeof(tyObject_SystemRngcolonObjectType___X9aKjcE9bDr41cpowCIZoGpQ*);
|
|
NTI__9aWCZSregXolmau8IgbwrpA_.kind = 22;
|
|
NTI__9aWCZSregXolmau8IgbwrpA_.base = (&NTI__X9aKjcE9bDr41cpowCIZoGpQ_);
|
|
NTI__9aWCZSregXolmau8IgbwrpA_.name = "SystemRng";
|
|
NTI__9aWCZSregXolmau8IgbwrpA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__9aWCZSregXolmau8IgbwrpA_;
|
|
NTI__9aWCZSregXolmau8IgbwrpA_.marker = Marker_tyRef__9aWCZSregXolmau8IgbwrpA;
|
|
}
|
|
|