/* 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/v1/node -o nimcache/release/quicksim/stdlib_asyncfutures.nim.c.o nimcache/release/quicksim/stdlib_asyncfutures.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 tyTuple__JfHvHzMrhKkWAUvQKe0i1A tyTuple__JfHvHzMrhKkWAUvQKe0i1A; typedef struct tyObject_Env_asyncfuturesdotnim___diB2NTuAIWY0FO9c5IUJRGg tyObject_Env_asyncfuturesdotnim___diB2NTuAIWY0FO9c5IUJRGg; typedef struct TNimType TNimType; typedef struct TNimNode TNimNode; typedef struct tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA; typedef struct RootObj RootObj; typedef struct tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ; typedef struct Exception Exception; typedef struct NimStringDesc NimStringDesc; typedef struct TGenericSeq TGenericSeq; typedef struct tyObject_FuturecolonObjectType___te3W2Tqi7xuJ7rlPtg9al5w tyObject_FuturecolonObjectType___te3W2Tqi7xuJ7rlPtg9al5w; typedef struct { N_NIMCALL_PTR(void, ClP_0) (void* ClE_0); void* ClE_0; } tyProc__IIomJ6ptE6vfJ5zRbATgkQ; typedef struct { N_NIMCALL_PTR(void, ClP_0) (tyProc__IIomJ6ptE6vfJ5zRbATgkQ cbproc, void* ClE_0); void* ClE_0; } tyProc__Ig6kXMs9apW5862wHsbFhGw; struct tyTuple__JfHvHzMrhKkWAUvQKe0i1A { void* Field0; tyObject_Env_asyncfuturesdotnim___diB2NTuAIWY0FO9c5IUJRGg* Field1; }; 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; }; typedef N_NIMCALL_PTR(void, tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ) (void); struct RootObj {TNimType* m_type;}; struct tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ {tyProc__IIomJ6ptE6vfJ5zRbATgkQ function; tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ* next; }; struct TGenericSeq {NI len; NI reserved; }; struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE]; }; struct tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA { RootObj Sup;tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ callbacks; NIM_BOOL finished; Exception* error; NimStringDesc* errorStackTrace; }; struct tyObject_FuturecolonObjectType___te3W2Tqi7xuJ7rlPtg9al5w { tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA Sup;}; N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op); static N_NIMCALL(void, TM__vnqLhdH9cCREQ2r9aXVOqbvQ_3)(void); N_LIB_PRIVATE N_NIMCALL(void, nimRegisterThreadLocalMarker)(tyProc__T4eqaYlFJYZUv9aG9b1TV0bQ markerProc); static N_NIMCALL(void, Marker_tyRef__gcUT3qWwCET3KjsqW7m5vQ)(void* p, NI op); static N_NIMCALL(void, Marker_tyRef__TjokxNjmnZmr9bygVDVC9bvg)(void* p, NI op); N_LIB_PRIVATE TNimType NTI__Ig6kXMs9apW5862wHsbFhGw_; extern TNimType NTI__vr5DoT1jILTGdRlYv1OYpw_; extern TNimType NTI__HsJiUUcO9cHBdUCi0HwkSTA_; extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_; N_LIB_PRIVATE TNimType NTI__NMMT5akQkfNlmjYrVF9a9bwA_; N_LIB_PRIVATE TNimType NTI__tKSBWiaJMWD3JZxwqg7UFQ_; extern TNimType NTI__IIomJ6ptE6vfJ5zRbATgkQ_; N_LIB_PRIVATE TNimType NTI__gcUT3qWwCET3KjsqW7m5vQ_; extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_; extern TNimType NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_; extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_; N_LIB_PRIVATE TNimType NTI__te3W2Tqi7xuJ7rlPtg9al5w_; N_LIB_PRIVATE TNimType NTI__TjokxNjmnZmr9bygVDVC9bvg_; N_LIB_PRIVATE NIM_THREADVAR tyProc__Ig6kXMs9apW5862wHsbFhGw callSoonProc__9b9b4iUSd60RO2UqC52ifJ6A; extern TNimType* nimTypeRoot; static N_NIMCALL(void, TM__vnqLhdH9cCREQ2r9aXVOqbvQ_3)(void) { nimGCvisit((void*)callSoonProc__9b9b4iUSd60RO2UqC52ifJ6A.ClE_0, 0);} static N_NIMCALL(void, Marker_tyRef__gcUT3qWwCET3KjsqW7m5vQ)(void* p, NI op) { tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ* a; a = (tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ*)p; nimGCvisit((void*)(*a).function.ClE_0, op); nimGCvisit((void*)(*a).next, op);} static N_NIMCALL(void, Marker_tyRef__TjokxNjmnZmr9bygVDVC9bvg)(void* p, NI op) { tyObject_FuturecolonObjectType___te3W2Tqi7xuJ7rlPtg9al5w* a; a = (tyObject_FuturecolonObjectType___te3W2Tqi7xuJ7rlPtg9al5w*)p; nimGCvisit((void*)(*a).Sup.callbacks.function.ClE_0, op); nimGCvisit((void*)(*a).Sup.callbacks.next, op); nimGCvisit((void*)(*a).Sup.error, op); nimGCvisit((void*)(*a).Sup.errorStackTrace, op);} N_LIB_PRIVATE N_NIMCALL(void, stdlib_asyncfuturesInit000)(void) { #line 999999 "generated_not_to_break_here" { nimRegisterThreadLocalMarker(TM__vnqLhdH9cCREQ2r9aXVOqbvQ_3);} } N_LIB_PRIVATE N_NIMCALL(void, stdlib_asyncfuturesDatInit000)(void) { #line 999999 "generated_not_to_break_here" static TNimNode* TM__vnqLhdH9cCREQ2r9aXVOqbvQ_2_2[2]; static TNimNode* TM__vnqLhdH9cCREQ2r9aXVOqbvQ_4_4[4]; static TNimNode* TM__vnqLhdH9cCREQ2r9aXVOqbvQ_5_2[2]; static TNimNode TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[12];NTI__Ig6kXMs9apW5862wHsbFhGw_.size = sizeof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A); NTI__Ig6kXMs9apW5862wHsbFhGw_.kind = 18; NTI__Ig6kXMs9apW5862wHsbFhGw_.base = 0; NTI__Ig6kXMs9apW5862wHsbFhGw_.name = "tuple of (pointer, ref object)"; NTI__Ig6kXMs9apW5862wHsbFhGw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Ig6kXMs9apW5862wHsbFhGw_; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_2_2[0] = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[1]; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[1].kind = 1; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[1].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field0); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[1].typ = (&NTI__vr5DoT1jILTGdRlYv1OYpw_); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[1].name = "Field0"; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_2_2[1] = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[2]; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[2].kind = 1; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[2].offset = offsetof(tyTuple__JfHvHzMrhKkWAUvQKe0i1A, Field1); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[2].typ = (&NTI__HsJiUUcO9cHBdUCi0HwkSTA_); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[2].name = "Field1"; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[0].len = 2; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[0].kind = 2; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[0].sons = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_2_2[0]; NTI__Ig6kXMs9apW5862wHsbFhGw_.node = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[0]; NTI__NMMT5akQkfNlmjYrVF9a9bwA_.size = sizeof(tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA); NTI__NMMT5akQkfNlmjYrVF9a9bwA_.kind = 17; NTI__NMMT5akQkfNlmjYrVF9a9bwA_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_); NTI__NMMT5akQkfNlmjYrVF9a9bwA_.name = "FutureBase:ObjectType"; NTI__NMMT5akQkfNlmjYrVF9a9bwA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__NMMT5akQkfNlmjYrVF9a9bwA_; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_4_4[0] = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[4]; NTI__tKSBWiaJMWD3JZxwqg7UFQ_.size = sizeof(tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ); NTI__tKSBWiaJMWD3JZxwqg7UFQ_.kind = 18; NTI__tKSBWiaJMWD3JZxwqg7UFQ_.base = 0; NTI__tKSBWiaJMWD3JZxwqg7UFQ_.name = "CallbackList"; NTI__tKSBWiaJMWD3JZxwqg7UFQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__tKSBWiaJMWD3JZxwqg7UFQ_; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_5_2[0] = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[6]; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[6].kind = 1; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[6].offset = offsetof(tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ, function); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[6].typ = (&NTI__IIomJ6ptE6vfJ5zRbATgkQ_); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[6].name = "function"; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_5_2[1] = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[7]; NTI__gcUT3qWwCET3KjsqW7m5vQ_.size = sizeof(tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ*); NTI__gcUT3qWwCET3KjsqW7m5vQ_.kind = 22; NTI__gcUT3qWwCET3KjsqW7m5vQ_.base = (&NTI__tKSBWiaJMWD3JZxwqg7UFQ_); NTI__gcUT3qWwCET3KjsqW7m5vQ_.name = "ref CallbackList"; NTI__gcUT3qWwCET3KjsqW7m5vQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__gcUT3qWwCET3KjsqW7m5vQ_; NTI__gcUT3qWwCET3KjsqW7m5vQ_.marker = Marker_tyRef__gcUT3qWwCET3KjsqW7m5vQ; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[7].kind = 1; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[7].offset = offsetof(tyObject_CallbackList__tKSBWiaJMWD3JZxwqg7UFQ, next); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[7].typ = (&NTI__gcUT3qWwCET3KjsqW7m5vQ_); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[7].name = "next"; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[5].len = 2; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[5].kind = 2; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[5].sons = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_5_2[0]; NTI__tKSBWiaJMWD3JZxwqg7UFQ_.node = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[5]; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[4].kind = 1; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[4].offset = offsetof(tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA, callbacks); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[4].typ = (&NTI__tKSBWiaJMWD3JZxwqg7UFQ_); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[4].name = "callbacks"; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_4_4[1] = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[8]; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[8].kind = 1; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[8].offset = offsetof(tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA, finished); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[8].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[8].name = "finished"; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_4_4[2] = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[9]; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[9].kind = 1; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[9].offset = offsetof(tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA, error); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[9].typ = (&NTI__vU9aO9cTqOMn6CBzhV8rX7Sw_); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[9].name = "error"; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_4_4[3] = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[10]; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[10].kind = 1; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[10].offset = offsetof(tyObject_FutureBasecolonObjectType___NMMT5akQkfNlmjYrVF9a9bwA, errorStackTrace); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[10].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_); TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[10].name = "errorStackTrace"; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[3].len = 4; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[3].kind = 2; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[3].sons = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_4_4[0]; NTI__NMMT5akQkfNlmjYrVF9a9bwA_.node = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[3]; NTI__te3W2Tqi7xuJ7rlPtg9al5w_.size = sizeof(tyObject_FuturecolonObjectType___te3W2Tqi7xuJ7rlPtg9al5w); NTI__te3W2Tqi7xuJ7rlPtg9al5w_.kind = 17; NTI__te3W2Tqi7xuJ7rlPtg9al5w_.base = (&NTI__NMMT5akQkfNlmjYrVF9a9bwA_); NTI__te3W2Tqi7xuJ7rlPtg9al5w_.name = "Future[system.void]"; NTI__te3W2Tqi7xuJ7rlPtg9al5w_.nextType = nimTypeRoot; nimTypeRoot=&NTI__te3W2Tqi7xuJ7rlPtg9al5w_; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[11].len = 0; TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[11].kind = 2; NTI__te3W2Tqi7xuJ7rlPtg9al5w_.node = &TM__vnqLhdH9cCREQ2r9aXVOqbvQ_0[11]; NTI__TjokxNjmnZmr9bygVDVC9bvg_.size = sizeof(tyObject_FuturecolonObjectType___te3W2Tqi7xuJ7rlPtg9al5w*); NTI__TjokxNjmnZmr9bygVDVC9bvg_.kind = 22; NTI__TjokxNjmnZmr9bygVDVC9bvg_.base = (&NTI__te3W2Tqi7xuJ7rlPtg9al5w_); NTI__TjokxNjmnZmr9bygVDVC9bvg_.name = "Future[system.void]"; NTI__TjokxNjmnZmr9bygVDVC9bvg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__TjokxNjmnZmr9bygVDVC9bvg_; NTI__TjokxNjmnZmr9bygVDVC9bvg_.marker = Marker_tyRef__TjokxNjmnZmr9bygVDVC9bvg; }