mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-16 01:45:40 +00:00
88 lines
4.6 KiB
C
88 lines
4.6 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-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 -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-nat-traversal/vendor/miniupnp/miniupnpc -I/home/runner/work/nim-waku/nim-waku/vendor/nim-nat-traversal/vendor/libnatpmp-upstream -DENABLE_STRNATPMPERR -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/common -o nimcache/release/wakubridge/@m..@sv2@sutils@spagination.nim.c.o nimcache/release/wakubridge/@m..@sv2@sutils@spagination.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_Index__lOZ7xaSDQuG6u4WFzCveFQ tyObject_Index__lOZ7xaSDQuG6u4WFzCveFQ;
|
|
typedef struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw tyObject_MDigest__law9ct65KplMYBvtmjCQxbw;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
|
|
struct tyObject_MDigest__law9ct65KplMYBvtmjCQxbw {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
};
|
|
struct tyObject_Index__lOZ7xaSDQuG6u4WFzCveFQ {tyObject_MDigest__law9ct65KplMYBvtmjCQxbw digest;
|
|
NF receivedTime;
|
|
};
|
|
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;
|
|
};
|
|
N_LIB_PRIVATE TNimType NTI__lOZ7xaSDQuG6u4WFzCveFQ_;
|
|
extern TNimType NTI__law9ct65KplMYBvtmjCQxbw_;
|
|
extern TNimType NTI__w9bl9a1ul9ctRJWiMl9cNnIMvg_;
|
|
extern TNimType* nimTypeRoot;
|
|
N_LIB_PRIVATE N_NIMCALL(void, waku_paginationDatInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
static TNimNode* TM__6r9c2XZLOaOpfxRkkbz7YWw_2_2[2];
|
|
static TNimNode TM__6r9c2XZLOaOpfxRkkbz7YWw_0[3];NTI__lOZ7xaSDQuG6u4WFzCveFQ_.size = sizeof(tyObject_Index__lOZ7xaSDQuG6u4WFzCveFQ);
|
|
NTI__lOZ7xaSDQuG6u4WFzCveFQ_.kind = 18;
|
|
NTI__lOZ7xaSDQuG6u4WFzCveFQ_.base = 0;
|
|
NTI__lOZ7xaSDQuG6u4WFzCveFQ_.flags = 3;
|
|
NTI__lOZ7xaSDQuG6u4WFzCveFQ_.name = "Index";
|
|
NTI__lOZ7xaSDQuG6u4WFzCveFQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__lOZ7xaSDQuG6u4WFzCveFQ_;
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_2_2[0] = &TM__6r9c2XZLOaOpfxRkkbz7YWw_0[1];
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[1].kind = 1;
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[1].offset = offsetof(tyObject_Index__lOZ7xaSDQuG6u4WFzCveFQ, digest);
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[1].typ = (&NTI__law9ct65KplMYBvtmjCQxbw_);
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[1].name = "digest";
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_2_2[1] = &TM__6r9c2XZLOaOpfxRkkbz7YWw_0[2];
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[2].kind = 1;
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[2].offset = offsetof(tyObject_Index__lOZ7xaSDQuG6u4WFzCveFQ, receivedTime);
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[2].typ = (&NTI__w9bl9a1ul9ctRJWiMl9cNnIMvg_);
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[2].name = "receivedTime";
|
|
TM__6r9c2XZLOaOpfxRkkbz7YWw_0[0].len = 2; TM__6r9c2XZLOaOpfxRkkbz7YWw_0[0].kind = 2; TM__6r9c2XZLOaOpfxRkkbz7YWw_0[0].sons = &TM__6r9c2XZLOaOpfxRkkbz7YWw_2_2[0];
|
|
NTI__lOZ7xaSDQuG6u4WFzCveFQ_.node = &TM__6r9c2XZLOaOpfxRkkbz7YWw_0[0];
|
|
}
|
|
|