nwaku/nimcache/release/start_network/stdlib_options.nim.c

158 lines
8.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 -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/v1/node -o nimcache/release/start_network/stdlib_options.nim.c.o nimcache/release/start_network/stdlib_options.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_Option__sAFfMsGk5NM3HtKDuuYPHA tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA;
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA;
typedef struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw;
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
typedef struct Exception Exception;
typedef struct RootObj RootObj;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
typedef NU8 tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA;
struct tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA {tyEnum_Topology__u5YFhUoGVKboFIgGYZd3wA val;
NIM_BOOL has;
};
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 tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA {NI val;
NIM_BOOL has;
};
struct RootObj {TNimType* m_type;};
struct TGenericSeq {NI len;
NI reserved;
};
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
};
struct Exception { RootObj Sup;Exception* parent;
NCSTRING name;
NimStringDesc* message;
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
Exception* up;
};
struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA { Exception Sup;};
struct tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;};
struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA {NCSTRING procname;
NI line;
NCSTRING filename;
};
struct tySequence__uB9b75OUPRENsBAu4AnoePA { TGenericSeq Sup; tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA data[SEQ_DECL_SIZE];};N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
static N_NIMCALL(void, Marker_tyRef__GntyqsSCwg00S5X6lKEPuQ)(void* p, NI op);
N_LIB_PRIVATE TNimType NTI__sAFfMsGk5NM3HtKDuuYPHA_;
extern TNimType NTI__u5YFhUoGVKboFIgGYZd3wA_;
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
N_LIB_PRIVATE TNimType NTI__Ryv9bNNePiiahF9b3Btk2KGA_;
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
extern TNimType NTI__LbeSGvgPzGzXnW9caIkJqMA_;
N_LIB_PRIVATE TNimType NTI__VAWWBGXQQxBx5kHPK2xRMw_;
N_LIB_PRIVATE TNimType NTI__GntyqsSCwg00S5X6lKEPuQ_;
extern TNimType* nimTypeRoot;
static N_NIMCALL(void, Marker_tyRef__GntyqsSCwg00S5X6lKEPuQ)(void* p, NI op) {
tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw* a;
a = (tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*)p;
nimGCvisit((void*)(*a).Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.up, op);}
N_LIB_PRIVATE N_NIMCALL(void, stdlib_optionsDatInit000)(void) {
#line 999999 "generated_not_to_break_here"
static TNimNode* TM__4DNs4bMUkswhWc4o4dM9bbg_2_2[2];
static TNimNode* TM__4DNs4bMUkswhWc4o4dM9bbg_3_2[2];
static TNimNode TM__4DNs4bMUkswhWc4o4dM9bbg_0[7];NTI__sAFfMsGk5NM3HtKDuuYPHA_.size = sizeof(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA);
NTI__sAFfMsGk5NM3HtKDuuYPHA_.kind = 18;
NTI__sAFfMsGk5NM3HtKDuuYPHA_.base = 0;
NTI__sAFfMsGk5NM3HtKDuuYPHA_.flags = 3;
NTI__sAFfMsGk5NM3HtKDuuYPHA_.name = "Option[start_network.Topology]";
NTI__sAFfMsGk5NM3HtKDuuYPHA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__sAFfMsGk5NM3HtKDuuYPHA_;
TM__4DNs4bMUkswhWc4o4dM9bbg_2_2[0] = &TM__4DNs4bMUkswhWc4o4dM9bbg_0[1];
TM__4DNs4bMUkswhWc4o4dM9bbg_0[1].kind = 1;
TM__4DNs4bMUkswhWc4o4dM9bbg_0[1].offset = offsetof(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA, val);
TM__4DNs4bMUkswhWc4o4dM9bbg_0[1].typ = (&NTI__u5YFhUoGVKboFIgGYZd3wA_);
TM__4DNs4bMUkswhWc4o4dM9bbg_0[1].name = "val";
TM__4DNs4bMUkswhWc4o4dM9bbg_2_2[1] = &TM__4DNs4bMUkswhWc4o4dM9bbg_0[2];
TM__4DNs4bMUkswhWc4o4dM9bbg_0[2].kind = 1;
TM__4DNs4bMUkswhWc4o4dM9bbg_0[2].offset = offsetof(tyObject_Option__sAFfMsGk5NM3HtKDuuYPHA, has);
TM__4DNs4bMUkswhWc4o4dM9bbg_0[2].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__4DNs4bMUkswhWc4o4dM9bbg_0[2].name = "has";
TM__4DNs4bMUkswhWc4o4dM9bbg_0[0].len = 2; TM__4DNs4bMUkswhWc4o4dM9bbg_0[0].kind = 2; TM__4DNs4bMUkswhWc4o4dM9bbg_0[0].sons = &TM__4DNs4bMUkswhWc4o4dM9bbg_2_2[0];
NTI__sAFfMsGk5NM3HtKDuuYPHA_.node = &TM__4DNs4bMUkswhWc4o4dM9bbg_0[0];
NTI__Ryv9bNNePiiahF9b3Btk2KGA_.size = sizeof(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA);
NTI__Ryv9bNNePiiahF9b3Btk2KGA_.kind = 18;
NTI__Ryv9bNNePiiahF9b3Btk2KGA_.base = 0;
NTI__Ryv9bNNePiiahF9b3Btk2KGA_.flags = 3;
NTI__Ryv9bNNePiiahF9b3Btk2KGA_.name = "Option[system.int]";
NTI__Ryv9bNNePiiahF9b3Btk2KGA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Ryv9bNNePiiahF9b3Btk2KGA_;
TM__4DNs4bMUkswhWc4o4dM9bbg_3_2[0] = &TM__4DNs4bMUkswhWc4o4dM9bbg_0[4];
TM__4DNs4bMUkswhWc4o4dM9bbg_0[4].kind = 1;
TM__4DNs4bMUkswhWc4o4dM9bbg_0[4].offset = offsetof(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA, val);
TM__4DNs4bMUkswhWc4o4dM9bbg_0[4].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
TM__4DNs4bMUkswhWc4o4dM9bbg_0[4].name = "val";
TM__4DNs4bMUkswhWc4o4dM9bbg_3_2[1] = &TM__4DNs4bMUkswhWc4o4dM9bbg_0[5];
TM__4DNs4bMUkswhWc4o4dM9bbg_0[5].kind = 1;
TM__4DNs4bMUkswhWc4o4dM9bbg_0[5].offset = offsetof(tyObject_Option__Ryv9bNNePiiahF9b3Btk2KGA, has);
TM__4DNs4bMUkswhWc4o4dM9bbg_0[5].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
TM__4DNs4bMUkswhWc4o4dM9bbg_0[5].name = "has";
TM__4DNs4bMUkswhWc4o4dM9bbg_0[3].len = 2; TM__4DNs4bMUkswhWc4o4dM9bbg_0[3].kind = 2; TM__4DNs4bMUkswhWc4o4dM9bbg_0[3].sons = &TM__4DNs4bMUkswhWc4o4dM9bbg_3_2[0];
NTI__Ryv9bNNePiiahF9b3Btk2KGA_.node = &TM__4DNs4bMUkswhWc4o4dM9bbg_0[3];
NTI__VAWWBGXQQxBx5kHPK2xRMw_.size = sizeof(tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw);
NTI__VAWWBGXQQxBx5kHPK2xRMw_.kind = 17;
NTI__VAWWBGXQQxBx5kHPK2xRMw_.base = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_);
NTI__VAWWBGXQQxBx5kHPK2xRMw_.name = "UnpackError";
NTI__VAWWBGXQQxBx5kHPK2xRMw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__VAWWBGXQQxBx5kHPK2xRMw_;
TM__4DNs4bMUkswhWc4o4dM9bbg_0[6].len = 0; TM__4DNs4bMUkswhWc4o4dM9bbg_0[6].kind = 2;
NTI__VAWWBGXQQxBx5kHPK2xRMw_.node = &TM__4DNs4bMUkswhWc4o4dM9bbg_0[6];
NTI__GntyqsSCwg00S5X6lKEPuQ_.size = sizeof(tyObject_UnpackError__VAWWBGXQQxBx5kHPK2xRMw*);
NTI__GntyqsSCwg00S5X6lKEPuQ_.kind = 22;
NTI__GntyqsSCwg00S5X6lKEPuQ_.base = (&NTI__VAWWBGXQQxBx5kHPK2xRMw_);
NTI__GntyqsSCwg00S5X6lKEPuQ_.name = "ref UnpackError";
NTI__GntyqsSCwg00S5X6lKEPuQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__GntyqsSCwg00S5X6lKEPuQ_;
NTI__GntyqsSCwg00S5X6lKEPuQ_.marker = Marker_tyRef__GntyqsSCwg00S5X6lKEPuQ;
}