nwaku/nimcache/release/start_network/@m..@s..@s..@svendor@snim-chronos@schronos@stransports@scommon.nim.c

73 lines
4.5 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/@m..@s..@s..@svendor@snim-chronos@schronos@stransports@scommon.nim.c.o nimcache/release/start_network/@m..@s..@s..@svendor@snim-chronos@schronos@stransports@scommon.nim.c */
#define NIM_INTBITS 64
#include "nimbase.h"
#include <string.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_TransportAddress__qYn6nlnhZhmKlocg1rtkTw tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw;
typedef NU8 tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA;
typedef NU8 tyArray__H8qf9bpC2ziYA2earmO8m7w[4];
typedef NU8 tyArray__qtqsWM5aXmcpMIVmvq3kAA[16];
typedef NU8 tyArray__82HHG9cFXBx30wZlwBk6mvQ[108];
struct tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw {tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA family;
union{
struct {tyArray__H8qf9bpC2ziYA2earmO8m7w address_v4;
} _family_2;
struct {tyArray__qtqsWM5aXmcpMIVmvq3kAA address_v6;
} _family_3;
struct {tyArray__82HHG9cFXBx30wZlwBk6mvQ address_un;
} _family_4;
};
NU16 port;
};
N_LIB_PRIVATE N_NOINLINE(void, chckNil)(void* p);
static N_INLINE(void, nimZeroMem)(void* p, NI size);
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
N_LIB_PRIVATE tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw AnyAddress__D9aQ2zemdxUXGe9b9beh5z9cGw;
N_LIB_PRIVATE tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw AnyAddress6__l3YKwDCJ63gGNOSaaJz66A;
#line 22 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size) { void* T1_;
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 24 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
T1_ = (void*)0; T1_ = memset(a, v, ((size_t) (size)));}
#line 33 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
static N_INLINE(void, nimZeroMem)(void* p, NI size) {
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
#line 34 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory(p, ((int) 0), size);
}
N_LIB_PRIVATE N_NIMCALL(void, chronos_commonInit000)(void) {
#line 999999 "generated_not_to_break_here"
{
#line 122 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/transports/common.nim"
chckNil((void*)(&AnyAddress__D9aQ2zemdxUXGe9b9beh5z9cGw)); nimZeroMem((void*)(&AnyAddress__D9aQ2zemdxUXGe9b9beh5z9cGw), sizeof(tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw)); AnyAddress__D9aQ2zemdxUXGe9b9beh5z9cGw.family = ((tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA) 1); AnyAddress__D9aQ2zemdxUXGe9b9beh5z9cGw.port = ((NU16) 0);
#line 124 "/home/runner/work/nim-waku/nim-waku/vendor/nim-chronos/chronos/transports/common.nim"
chckNil((void*)(&AnyAddress6__l3YKwDCJ63gGNOSaaJz66A)); nimZeroMem((void*)(&AnyAddress6__l3YKwDCJ63gGNOSaaJz66A), sizeof(tyObject_TransportAddress__qYn6nlnhZhmKlocg1rtkTw)); AnyAddress6__l3YKwDCJ63gGNOSaaJz66A.family = ((tyEnum_AddressFamily__ISHglMoDNRIPCY0ku2DcvA) 2); AnyAddress6__l3YKwDCJ63gGNOSaaJz66A.port = ((NU16) 0);}
}