mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-28 23:55:43 +00:00
1013 lines
69 KiB
C
1013 lines
69 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/examples/v1 -o nimcache/release/example/@m..@s..@svendor@snim-stew@sstew@sresults.nim.c.o nimcache/release/example/@m..@s..@svendor@snim-stew@sstew@sresults.nim.c */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#include <sys/types.h>
|
|
#include <pthread.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_Result__uBmWEy9a2NSCaB44ofpjOFA tyObject_Result__uBmWEy9a2NSCaB44ofpjOFA;
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA;
|
|
typedef struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA;
|
|
typedef struct Exception Exception;
|
|
typedef struct RootObj RootObj;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef struct tySequence__uB9b75OUPRENsBAu4AnoePA tySequence__uB9b75OUPRENsBAu4AnoePA;
|
|
typedef struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g;
|
|
typedef struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w;
|
|
typedef struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ;
|
|
typedef struct tyObject_GcStack__7fytPA5bBsob6See21YMRA tyObject_GcStack__7fytPA5bBsob6See21YMRA;
|
|
typedef struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg;
|
|
typedef struct tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ;
|
|
typedef struct tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg;
|
|
typedef struct tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw;
|
|
typedef struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA;
|
|
typedef struct tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw;
|
|
typedef struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw;
|
|
typedef struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg;
|
|
typedef struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyTuple__ujsjpB2O9cjj3uDHsXbnSzg;
|
|
typedef struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg;
|
|
typedef struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ;
|
|
typedef struct tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg;
|
|
typedef struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw;
|
|
typedef struct tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg;
|
|
typedef struct tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ;
|
|
typedef struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA;
|
|
typedef struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ;
|
|
typedef struct tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw;
|
|
typedef struct tyObject_ResultError__sY5ycVggSm9cDMhASASazQw tyObject_ResultError__sY5ycVggSm9cDMhASASazQw;
|
|
typedef struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw;
|
|
typedef struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA;
|
|
typedef struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w;
|
|
typedef struct tyObject_Result__pZorf3I302ZEhkhn6lPgmg tyObject_Result__pZorf3I302ZEhkhn6lPgmg;
|
|
typedef struct tyObject_Result__2tk2I019cjBvNsi9aKg47acQ tyObject_Result__2tk2I019cjBvNsi9aKg47acQ;
|
|
typedef struct tyObject_Result__ilFFiS4FzkKdKwqy8wvy9cQ tyObject_Result__ilFFiS4FzkKdKwqy8wvy9cQ;
|
|
typedef struct tyObject_Result__eZlmLdJ9b4dSB3wslQQC9bRA tyObject_Result__eZlmLdJ9b4dSB3wslQQC9bRA;
|
|
typedef struct tyObject_Result__HNnt9ck0SSM6g9ctpv9bOfKNQ tyObject_Result__HNnt9ck0SSM6g9ctpv9bOfKNQ;
|
|
typedef struct tyObject_Result__9bn3q9cf2t0jbXRYPFofJMAQ tyObject_Result__9bn3q9cf2t0jbXRYPFofJMAQ;
|
|
typedef struct tyObject_PortMappingRes__HAKwlWP34w7w9bH9bs3Ehk1A tyObject_PortMappingRes__HAKwlWP34w7w9bH9bs3Ehk1A;
|
|
typedef struct tyObject_Result__h9b1jynKZrDS9bX4he8zIyhQ tyObject_Result__h9b1jynKZrDS9bX4he8zIyhQ;
|
|
typedef struct tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw;
|
|
typedef struct tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA;
|
|
typedef struct tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA;
|
|
typedef struct tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ;
|
|
typedef struct tyObject_Result__cIH09cbGibawFrbeCk9akKTw tyObject_Result__cIH09cbGibawFrbeCk9akKTw;
|
|
typedef struct tyObject_Result__nXrOkSEm9c5tMKk12b3mVsw tyObject_Result__nXrOkSEm9c5tMKk12b3mVsw;
|
|
typedef struct tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg;
|
|
typedef struct tyObject_Handshake__FwFQsY1cFZ8B9cdx5mv0FDA tyObject_Handshake__FwFQsY1cFZ8B9cdx5mv0FDA;
|
|
typedef struct tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g;
|
|
typedef struct tyObject_Result__zwei9cK1g4ivrtgOEKgDG5g tyObject_Result__zwei9cK1g4ivrtgOEKgDG5g;
|
|
typedef struct tyObject_ConnectionSecret__Y9bN9azMb0JKE0KWrpfv9aHxQ tyObject_ConnectionSecret__Y9bN9azMb0JKE0KWrpfv9aHxQ;
|
|
typedef struct tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg;
|
|
typedef struct tyObject_Result__9cSS9aZywjhUjZ2RChHxYzwQ tyObject_Result__9cSS9aZywjhUjZ2RChHxYzwQ;
|
|
typedef struct tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA tyObject_StackTraceEntry__oLyohQ7O2XOvGnflOss8EA;
|
|
typedef NU8 tyEnum_RlpxError__slGVCgJ3oSqyZjPqoF9c5Cw;
|
|
struct tyObject_Result__uBmWEy9a2NSCaB44ofpjOFA {NIM_BOOL o;
|
|
union{
|
|
struct {tyEnum_RlpxError__slGVCgJ3oSqyZjPqoF9c5Cw e;
|
|
} _o_1;
|
|
};
|
|
};
|
|
struct TGenericSeq {NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc { TGenericSeq Sup;NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
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;
|
|
};
|
|
struct RootObj {TNimType* m_type;};
|
|
struct Exception { RootObj Sup;Exception* parent;
|
|
NCSTRING name;
|
|
NimStringDesc* message;
|
|
tySequence__uB9b75OUPRENsBAu4AnoePA* trace;
|
|
Exception* up;
|
|
};
|
|
struct tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA { Exception Sup;};
|
|
struct tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA { tyObject_Defect__LbeSGvgPzGzXnW9caIkJqMA Sup;};
|
|
typedef NU8 tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ;
|
|
struct TNimNode {tyEnum_TNimNodeKind__unfNsxrcATrufDZmpBq4HQ kind;
|
|
NI offset;
|
|
TNimType* typ;
|
|
NCSTRING name;
|
|
NI len;
|
|
TNimNode** sons;
|
|
};
|
|
struct tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g {NI refcount;
|
|
TNimType* typ;
|
|
};
|
|
struct tyObject_GcStack__7fytPA5bBsob6See21YMRA {void* bottom;
|
|
};
|
|
struct tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w {NI len;
|
|
NI cap;
|
|
tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g** d;
|
|
};
|
|
typedef tyObject_SmallChunk__tXn60W2f8h3jgAYdEmy5NQ* tyArray__SiRwrEKZdLgxqz9a9aoVBglg[512];
|
|
typedef NU32 tyArray__BHbOSqU1t9b3Gt7K2c6fQig[24];
|
|
typedef tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* tyArray__N1u1nqOgmuJN9cSZrnMHgOQ[32];
|
|
typedef tyArray__N1u1nqOgmuJN9cSZrnMHgOQ tyArray__B6durA4ZCi1xjJvRtyYxMg[24];
|
|
typedef tyObject_Trunk__W0r8S0Y3UGke6T9bIUWnnuw* tyArray__lh2A89ahMmYg9bCmpVaplLbA[256];
|
|
struct tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA {tyArray__lh2A89ahMmYg9bCmpVaplLbA data;
|
|
};
|
|
typedef tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* tyArray__0aOLqZchNi8nWtMTi8ND8w[2];
|
|
struct tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw {tyArray__0aOLqZchNi8nWtMTi8ND8w link;
|
|
NI key;
|
|
NI upperBound;
|
|
NI level;
|
|
};
|
|
struct tyTuple__ujsjpB2O9cjj3uDHsXbnSzg {
|
|
tyObject_BigChunk__Rv9c70Uhp2TytkX7eH78qEg* Field0;
|
|
NI Field1;
|
|
};
|
|
typedef tyTuple__ujsjpB2O9cjj3uDHsXbnSzg tyArray__LzOv2eCDGiceMKQstCLmhw[30];
|
|
struct tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg {NI len;
|
|
tyArray__LzOv2eCDGiceMKQstCLmhw chunks;
|
|
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg* next;
|
|
};
|
|
struct tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg {NI minLargeObj;
|
|
NI maxLargeObj;
|
|
tyArray__SiRwrEKZdLgxqz9a9aoVBglg freeSmallChunks;
|
|
NU32 flBitmap;
|
|
tyArray__BHbOSqU1t9b3Gt7K2c6fQig slBitmap;
|
|
tyArray__B6durA4ZCi1xjJvRtyYxMg matrix;
|
|
tyObject_LLChunk__XsENErzHIZV9bhvyJx56wGw* llmem;
|
|
NI currMem;
|
|
NI maxMem;
|
|
NI freeMem;
|
|
NI occ;
|
|
NI lastSize;
|
|
tyObject_IntSet__EZObFrE3NC9bIb3YMkY9crZA chunkStarts;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* root;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* deleted;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* last;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw* freeAvlNodes;
|
|
NIM_BOOL locked;
|
|
NIM_BOOL blockChunkSizeIncrease;
|
|
NI nextChunkSize;
|
|
tyObject_AvlNode__IaqjtwKhxLEpvDS9bct9blEw bottomData;
|
|
tyObject_HeapLinks__PDV1HBZ8CQSQJC9aOBFNRSg heapLinks;
|
|
NI allocCounter;
|
|
NI deallocCounter;
|
|
};
|
|
struct tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg {NI stackScans;
|
|
NI cycleCollections;
|
|
NI maxThreshold;
|
|
NI maxStackSize;
|
|
NI maxStackCells;
|
|
NI cycleTableSize;
|
|
NI64 maxPause;
|
|
};
|
|
struct tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ {NI counter;
|
|
NI max;
|
|
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg* head;
|
|
tyObject_PageDesc__fublkgIY4LG3mT51LU2WHg** data;
|
|
};
|
|
typedef long tyArray__xDUyu9aScDpt0JZLU6q9aEZQ[5];
|
|
struct tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw {tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* head;
|
|
tyObject_SharedListNodecolonObjectType___KGw0YAw6W9aSz3Sr9aXGu7zg* tail;
|
|
pthread_mutex_t lock;
|
|
};
|
|
struct tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ {tyObject_GcStack__7fytPA5bBsob6See21YMRA stack;
|
|
NI cycleThreshold;
|
|
NI zctThreshold;
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w zct;
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w decStack;
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w tempStack;
|
|
NI recGcLock;
|
|
tyObject_MemRegion__x81NhDv59b8ercDZ9bi85jyg region;
|
|
tyObject_GcStat__0RwLoVBHZPfUAcLczmfQAg stat;
|
|
tyObject_CellSet__jG87P0AI9aZtss9ccTYBIISQ marked;
|
|
tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w additionalRoots;
|
|
tyObject_SharedList__JI9cx34TL8n3aOKF6tSMBUw toDispose;
|
|
NI gcThreadId;
|
|
};
|
|
typedef NU8 tyArray__w5VB8h5K8DB3oWrO5U2wqg[64];
|
|
struct tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ {tyArray__w5VB8h5K8DB3oWrO5U2wqg data;
|
|
};
|
|
struct tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA {tyObject_secp256k1_pubkey__GYc9aFo1e2qOLdmAqUvIikQ data;
|
|
};
|
|
struct tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA { Exception Sup;};
|
|
struct tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw { tyObject_CatchableError__qrLSDoe2oBoAqNtJ9badtnA Sup;};
|
|
struct tyObject_ResultError__sY5ycVggSm9cDMhASASazQw { tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw Sup;NCSTRING error;
|
|
};
|
|
typedef NU8 tyArray__vEOa9c5qaE9ajWxR5R4zwfQg[32];
|
|
struct tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg data;
|
|
};
|
|
struct tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_Result__pZorf3I302ZEhkhn6lPgmg {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {NI v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_Result__2tk2I019cjBvNsi9aKg47acQ {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {NimStringDesc* v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_Result__ilFFiS4FzkKdKwqy8wvy9cQ {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {NIM_BOOL v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_Result__eZlmLdJ9b4dSB3wslQQC9bRA {NIM_BOOL o;
|
|
union{
|
|
struct {NimStringDesc* e;
|
|
} _o_1;
|
|
struct {NIM_BOOL v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_Result__HNnt9ck0SSM6g9ctpv9bOfKNQ {NIM_BOOL o;
|
|
union{
|
|
struct {NimStringDesc* e;
|
|
} _o_1;
|
|
struct {NCSTRING v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
typedef NU8 tyEnum_UPNPProtocol__KRPLdnmctmfcFCiWnVJqLw;
|
|
struct tyObject_PortMappingRes__HAKwlWP34w7w9bH9bs3Ehk1A {NimStringDesc* externalPort;
|
|
NimStringDesc* internalClient;
|
|
NimStringDesc* internalPort;
|
|
tyEnum_UPNPProtocol__KRPLdnmctmfcFCiWnVJqLw protocol;
|
|
NimStringDesc* description;
|
|
NIM_BOOL enabled;
|
|
NimStringDesc* remoteHost;
|
|
NU64 leaseDuration;
|
|
};
|
|
struct tyObject_Result__9bn3q9cf2t0jbXRYPFofJMAQ {NIM_BOOL o;
|
|
union{
|
|
struct {NCSTRING e;
|
|
} _o_1;
|
|
struct {tyObject_PortMappingRes__HAKwlWP34w7w9bH9bs3Ehk1A v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
struct tyObject_Result__h9b1jynKZrDS9bX4he8zIyhQ {NIM_BOOL o;
|
|
union{
|
|
struct {NimStringDesc* e;
|
|
} _o_1;
|
|
struct {unsigned short v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
typedef NU8 tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA;
|
|
typedef NU8 tyArray__qtqsWM5aXmcpMIVmvq3kAA[16];
|
|
typedef NU8 tyArray__H8qf9bpC2ziYA2earmO8m7w[4];
|
|
struct tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA {tyEnum_IpAddressFamily__iqqacz9cr9bcNjYY74E10wPA family;
|
|
union{
|
|
struct {tyArray__qtqsWM5aXmcpMIVmvq3kAA address_v6;
|
|
} _family_1;
|
|
struct {tyArray__H8qf9bpC2ziYA2earmO8m7w address_v4;
|
|
} _family_2;
|
|
};
|
|
};
|
|
struct tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA {tyObject_IpAddress__t0yd6ha54oWXm7nwZ4QqfA ip;
|
|
NU16 udpPort;
|
|
NU16 tcpPort;
|
|
};
|
|
struct tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw {tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA pubkey;
|
|
tyObject_Address__x5U8qnsjGWstAJoOadUZ9aA address;
|
|
};
|
|
typedef NU8 tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ;
|
|
struct tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ {NIM_BOOL o;
|
|
union{
|
|
struct {tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ e;
|
|
} _o_1;
|
|
struct {tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
typedef NU8 tyEnum_AuthError__x4UCf8NgZ0RzSCU0hmt9a4w;
|
|
struct tyObject_Result__cIH09cbGibawFrbeCk9akKTw {NIM_BOOL o;
|
|
union{
|
|
struct {tyEnum_AuthError__x4UCf8NgZ0RzSCU0hmt9a4w e;
|
|
} _o_1;
|
|
};
|
|
};
|
|
struct tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg { tyObject_ValueError__yoNlBGx0D2tRizIdhQuENw Sup;tyEnum_AuthError__x4UCf8NgZ0RzSCU0hmt9a4w error;
|
|
};
|
|
typedef NU8 tySet_tyEnum_HandshakeFlag__r8tE9czw2DrL3In0t9clwvzA;
|
|
struct tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g {tyObject_SkSecretKey__aKiBFtqo69b60sWLnM5A9c3w seckey;
|
|
tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA pubkey;
|
|
};
|
|
struct tyObject_Handshake__FwFQsY1cFZ8B9cdx5mv0FDA {NU8 version;
|
|
tySet_tyEnum_HandshakeFlag__r8tE9czw2DrL3In0t9clwvzA flags;
|
|
tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g host;
|
|
tyObject_SkKeyPair__11md6PDL9c3Ydro9bo69avH7g ephemeral;
|
|
tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA remoteHPubkey;
|
|
tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA remoteEPubkey;
|
|
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg initiatorNonce;
|
|
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg responderNonce;
|
|
NI expectedLength;
|
|
};
|
|
struct tyObject_Result__nXrOkSEm9c5tMKk12b3mVsw {NIM_BOOL o;
|
|
union{
|
|
struct {tyEnum_AuthError__x4UCf8NgZ0RzSCU0hmt9a4w e;
|
|
} _o_1;
|
|
struct {tyObject_Handshake__FwFQsY1cFZ8B9cdx5mv0FDA v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
typedef NU8 tyArray__mJet1q9cQ9cMu09a9cvCoy52aQ[200];
|
|
struct tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg {tyArray__mJet1q9cQ9cMu09a9cvCoy52aQ q;
|
|
NI pt;
|
|
};
|
|
struct tyObject_ConnectionSecret__Y9bN9azMb0JKE0KWrpfv9aHxQ {tyArray__vEOa9c5qaE9ajWxR5R4zwfQg aesKey;
|
|
tyArray__vEOa9c5qaE9ajWxR5R4zwfQg macKey;
|
|
tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg egressMac;
|
|
tyObject_KeccakContext__82GRymTSHYqYubtyRt2cIg ingressMac;
|
|
};
|
|
struct tyObject_Result__zwei9cK1g4ivrtgOEKgDG5g {NIM_BOOL o;
|
|
union{
|
|
struct {tyEnum_AuthError__x4UCf8NgZ0RzSCU0hmt9a4w e;
|
|
} _o_1;
|
|
struct {tyObject_ConnectionSecret__Y9bN9azMb0JKE0KWrpfv9aHxQ v;
|
|
} _o_2;
|
|
};
|
|
};
|
|
typedef NU8 tyEnum_EciesError__Faslh8ClCPeRXBVFfTATjA;
|
|
struct tyObject_Result__9cSS9aZywjhUjZ2RChHxYzwQ {NIM_BOOL o;
|
|
union{
|
|
struct {tyEnum_EciesError__Faslh8ClCPeRXBVFfTATjA e;
|
|
} _o_1;
|
|
};
|
|
};
|
|
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__z4xBY9bUJB2dLWrpE4yC0SA)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y);
|
|
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y);
|
|
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
N_LIB_PRIVATE N_NOINLINE(void, addZCT__Y66tOYFjgwJ0k4aLz4bc0Q)(tyObject_CellSeq__Axo1XVm9aaQueTOldv8le5w* s, tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr);
|
|
N_LIB_PRIVATE N_NIMCALL(void, raiseExceptionEx)(Exception* e, NCSTRING ename, NCSTRING procname, NCSTRING filename, NI line);
|
|
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size);
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, cstrToNimstr)(NCSTRING str);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
|
|
static N_INLINE(void, asgnRef)(void** dest, void* src);
|
|
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c);
|
|
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__CymPpP5debOr2xHK5DXjXQ)(NimStringDesc* m, tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* v) __attribute__((noreturn));
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___sCk67mWMaXubq9aFhJ4e9cXw)(tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* pubkey);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseFieldError)(NimStringDesc* f);
|
|
static N_NIMCALL(void, Marker_tyRef__DvOmDmRJ3ulv1N5ie0G9bWQ)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__hX79a8UgJpFrjBjhaAVV9ccQ)(NimStringDesc* m, NI v) __attribute__((noreturn));
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimIntToStr)(NI x);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__LDPs6i4WoesAlTQQkVEXSA)(NimStringDesc* m, NimStringDesc* v) __attribute__((noreturn));
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__J7PribAjPCGX7dqkhDSKgQ)(NimStringDesc* m, NIM_BOOL v) __attribute__((noreturn));
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, nimBoolToStr)(NIM_BOOL x_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__owuWoGCIMYubXziJ5dK27w)(NimStringDesc* m, NCSTRING v) __attribute__((noreturn));
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__S56PmBEfoyXYaeQK9bjstOg)(NimStringDesc* m, tyObject_PortMappingRes__HAKwlWP34w7w9bH9bs3Ehk1A* v) __attribute__((noreturn));
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___TA2b9akdw9cG7Ii9ap0VKfTXw)(tyObject_PortMappingRes__HAKwlWP34w7w9bH9bs3Ehk1A* x_0);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__Kh6ukKZAQhFYqizXN1DcVA)(NimStringDesc* m, unsigned short v) __attribute__((noreturn));
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, dollar___RkX9btpg5sQIaP8yYXB6tbA)(NU64 x_0);
|
|
static N_INLINE(void, nimZeroMem)(void* p, NI size);
|
|
static N_INLINE(void, nimSetMem__zxfKBYntu9cBapkhrCOk1fgmemory)(void* a, int v, NI size);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__9cyNUazpEQv3o2fikqfB9aYg)(NimStringDesc* m, tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ v) __attribute__((noreturn));
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, reprEnum)(NI e_0, TNimType* typ);
|
|
static N_NIMCALL(void, Marker_tyRef__s4ejRQPG9cuU71GnBnvrEIg)(void* p, NI op);
|
|
extern TNimType NTI__LbeSGvgPzGzXnW9caIkJqMA_;
|
|
N_LIB_PRIVATE TNimType NTI__CQTx3KX9bfyubdA9cXO1jDAA_;
|
|
N_LIB_PRIVATE TNimType NTI__z4xBY9bUJB2dLWrpE4yC0SA_;
|
|
STRING_LITERAL(TM__ux9cYkSFZqcoBcgTwEEx7hg_2, ": ", 2);
|
|
STRING_LITERAL(TM__ux9cYkSFZqcoBcgTwEEx7hg_3, "Trying to access error when value is set", 40);
|
|
STRING_LITERAL(TM__ux9cYkSFZqcoBcgTwEEx7hg_4, "\'v\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
|
|
STRING_LITERAL(TM__ux9cYkSFZqcoBcgTwEEx7hg_5, "\'e\' is not accessible using discriminant \'o\' of type \'Result\'", 61);
|
|
extern TNimType NTI__yoNlBGx0D2tRizIdhQuENw_;
|
|
N_LIB_PRIVATE TNimType NTI__sY5ycVggSm9cDMhASASazQw_;
|
|
extern TNimType NTI__S9agCYBinaYZnGWcjTdxclg_;
|
|
N_LIB_PRIVATE TNimType NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_;
|
|
STRING_LITERAL(TM__ux9cYkSFZqcoBcgTwEEx7hg_6, "Trying to access value with err: ", 33);
|
|
extern TNimType NTI__dOsBvqflIo9aTtaKFUq4orQ_;
|
|
N_LIB_PRIVATE TNimType NTI__cIH09cbGibawFrbeCk9akKTw_;
|
|
extern TNimType NTI__VaVACK0bpYmqIQ0mKcHfQQ_;
|
|
TNimNode* NimDT___cIH09cbGibawFrbeCk9akKTw_o[3];
|
|
extern TNimType NTI__x4UCf8NgZ0RzSCU0hmt9a4w_;
|
|
N_LIB_PRIVATE TNimType NTI__8aZurD62luK9ca59aC9bJEVCg_;
|
|
N_LIB_PRIVATE TNimType NTI__s4ejRQPG9cuU71GnBnvrEIg_;
|
|
extern TNimType* nimTypeRoot;
|
|
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
|
|
static N_NIMCALL(void, Marker_tyRef__z4xBY9bUJB2dLWrpE4yC0SA)(void* p, NI op) {
|
|
tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* a;
|
|
a = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)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);}
|
|
|
|
#line 436 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
static N_INLINE(NI, minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system)(NI x, NI y) { NI result; result = (NI)0;
|
|
#line 437 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
#line 441 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
result = ((NI) ((NU)((NU64)(((NU) (x))) - (NU64)(((NU) (y)))))); return result;}
|
|
|
|
#line 187 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
static N_INLINE(NIM_BOOL, ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem)(NI x, NI y) { NIM_BOOL result; result = (NIM_BOOL)0;
|
|
#line 188 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
|
|
#line 190 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/comparisons.nim"
|
|
result = ((NU64)(((NU) (x))) < (NU64)(((NU) (y)))); return result;}
|
|
|
|
#line 194 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 196 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
addZCT__Y66tOYFjgwJ0k4aLz4bc0Q((&gch__IcYaEuuWivYAS86vFMTS3Q.zct), c);
|
|
}
|
|
|
|
#line 198 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, decRef__AT1eRuflKWyTTBdLjEDZbgsystem)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 201 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*c).refcount = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system((*c).refcount, ((NI) 8));
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ NIM_BOOL T3_;
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 202 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T3_ = (NIM_BOOL)0; T3_ = ltpercent___hPljn3JCDQ00ua1R07X9bxQsystem((*c).refcount, ((NI) 8)); if (!T3_) goto LA4_;
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 203 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
rtlAddZCT__AT1eRuflKWyTTBdLjEDZbg_2system(c);
|
|
}
|
|
LA4_: ;
|
|
}
|
|
|
|
#line 128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*, usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem)(void* usr) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* result; NI T1_; result = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0;
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T1_ = (NI)0; T1_ = minuspercent___dgYAo7RfdUVVpvkfKDym8w_2system(((NI) (ptrdiff_t) (usr)), ((NI) 16)); result = ((tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*) (T1_)); return result;}
|
|
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, nimGCunrefNoCycle)(void* p) { tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T1_;
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T1_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T1_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(p);
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T1_);
|
|
}
|
|
|
|
#line 629 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, expect__i4CDhQ3cfBmPS4AAmkXiVA)(tyObject_Result__uBmWEy9a2NSCaB44ofpjOFA self, NimStringDesc* msg) {
|
|
#line 630 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T5_; NimStringDesc* T6_;
|
|
#line 630 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!!(self.o)) goto LA3_;
|
|
T5_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T5_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T5_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T5_).Sup.Sup.name = "ResultDefect"; T6_ = (NimStringDesc*)0; T6_ = (*T5_).Sup.Sup.message; (*T5_).Sup.Sup.message = copyStringRC1(msg); if (T6_) nimGCunrefNoCycle(T6_);
|
|
#line 631 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T5_, "ResultDefect", "expect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 631); }
|
|
LA3_: ;
|
|
}
|
|
|
|
#line 11 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
static N_INLINE(void, nimCopyMem)(void* dest, void* source, NI size) { void* T1_;
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
|
|
#line 13 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/memory.nim"
|
|
T1_ = (void*)0; T1_ = memcpy(dest, source, ((size_t) (size)));}
|
|
|
|
#line 2112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
static N_INLINE(void, copyMem__i80o3k0SgEI5gTRCzYdyWAsystem)(void* dest, void* source, NI size) {
|
|
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
|
|
#line 2113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system.nim"
|
|
nimCopyMem(dest, source, size);
|
|
}
|
|
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src) {
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
{
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 218 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
if (!!((src == NIM_NIL))) goto LA3_;
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
|
|
#line 219 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*dest).data[(*dest).Sup.len]))), ((void*) ((*src).data)), ((NI) ((NI)((*src).Sup.len + ((NI) 1)))));
|
|
|
|
#line 220 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/sysstr.nim"
|
|
(*dest).Sup.len += (*src).Sup.len; }
|
|
LA3_: ;
|
|
}
|
|
|
|
#line 425 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
static N_INLINE(NI, pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem)(NI x, NI y) { NI result; result = (NI)0;
|
|
#line 426 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
|
|
#line 430 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/arithmetics.nim"
|
|
result = ((NI) ((NU)((NU64)(((NU) (x))) + (NU64)(((NU) (y)))))); return result;}
|
|
|
|
#line 182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, incRef__AT1eRuflKWyTTBdLjEDZbg_3system)(tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* c) {
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*c).refcount = pluspercent___dgYAo7RfdUVVpvkfKDym8wsystem((*c).refcount, ((NI) 8));}
|
|
|
|
#line 235 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
static N_INLINE(void, asgnRef)(void** dest, void* src) {
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T5_;
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
if (!!((src == NIM_NIL))) goto LA3_;
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T5_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T5_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem(src);
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
incRef__AT1eRuflKWyTTBdLjEDZbg_3system(T5_);
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
{ tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g* T10_;
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
if (!!(((*dest) == NIM_NIL))) goto LA8_;
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
T10_ = (tyObject_Cell__1zcF9cV8XIAtbN8h5HRUB8g*)0; T10_ = usrToCell__QFQqcLB3lgOdwipkv9a60xwsystem((*dest));
|
|
#line 240 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
decRef__AT1eRuflKWyTTBdLjEDZbgsystem(T10_);
|
|
}
|
|
LA8_: ;
|
|
|
|
#line 241 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/system/gc.nim"
|
|
(*dest) = src;}
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__owuWoGCIMYubXziJ5dK27w)(NimStringDesc* m, NCSTRING v) { tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T1_; NimStringDesc* T2_; NimStringDesc* T3_; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T1_).Sup.Sup.name = "ResultDefect";
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T3_ = (NimStringDesc*)0; T3_ = cstrToNimstr(v); T2_ = rawNewString((m ? m->Sup.len : 0) + (T3_ ? T3_->Sup.len : 0) + 2);appendString(T2_, m);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_2));appendString(T2_, T3_); asgnRef((void**) (&(*T1_).Sup.Sup.message), T2_);
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultDefect", "raiseResultDefect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 279);}
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__CymPpP5debOr2xHK5DXjXQ)(NimStringDesc* m, tyObject_SkPublicKey__YxxaGK7KOKaWCOaZ44rHMA* v) { tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T1_; NimStringDesc* T2_; NimStringDesc* T3_; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T1_).Sup.Sup.name = "ResultDefect";
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T3_ = (NimStringDesc*)0; T3_ = dollar___sCk67mWMaXubq9aFhJ4e9cXw(v); T2_ = rawNewString((m ? m->Sup.len : 0) + (T3_ ? T3_->Sup.len : 0) + 2);appendString(T2_, m);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_2));appendString(T2_, T3_); asgnRef((void**) (&(*T1_).Sup.Sup.message), T2_);
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultDefect", "raiseResultDefect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 279);}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NCSTRING, error__mTiJ7Ikbe9aYfTMOSyaBRxQ)(tyObject_Result__ac12d9bB2oPDNrhZXEa1pxQ* self) { NCSTRING result; result = (NCSTRING)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ if (!(*self).o) goto LA3_;
|
|
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); }
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__CymPpP5debOr2xHK5DXjXQ(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3), (&(*self)._o_2.v));
|
|
}
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = (*self)._o_1.e; return result;}
|
|
static N_NIMCALL(void, Marker_tyRef__DvOmDmRJ3ulv1N5ie0G9bWQ)(void* p, NI op) {
|
|
tyObject_ResultError__sY5ycVggSm9cDMhASASazQw* a;
|
|
a = (tyObject_ResultError__sY5ycVggSm9cDMhASASazQw*)p;
|
|
nimGCvisit((void*)(*a).Sup.Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.up, op);}
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__zXtnI9aKLiDx2d20YwYjUNw)(tyObject_Result__Ya9ccZBmFvHJBBkgW6aNwdw* self) { tyObject_ResultError__sY5ycVggSm9cDMhASASazQw* T1_; NimStringDesc* T2_; NimStringDesc* T3_; T1_ = (tyObject_ResultError__sY5ycVggSm9cDMhASASazQw*)0; T1_ = (tyObject_ResultError__sY5ycVggSm9cDMhASASazQw*) newObj((&NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_), sizeof(tyObject_ResultError__sY5ycVggSm9cDMhASASazQw)); (*T1_).Sup.Sup.Sup.Sup.m_type = (&NTI__sY5ycVggSm9cDMhASASazQw_); (*T1_).Sup.Sup.Sup.name = "ResultError"; if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } (*T1_).error = (*self)._o_1.e;
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } T3_ = (NimStringDesc*)0; T3_ = cstrToNimstr((*self)._o_1.e); T2_ = rawNewString((T3_ ? T3_->Sup.len : 0) + 33);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_6));appendString(T2_, T3_); asgnRef((void**) (&(*T1_).Sup.Sup.Sup.message), T2_);
|
|
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultError", "raiseResultError", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 272);}
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__hX79a8UgJpFrjBjhaAVV9ccQ)(NimStringDesc* m, NI v) { tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T1_; NimStringDesc* T2_; NimStringDesc* T3_; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T1_).Sup.Sup.name = "ResultDefect";
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T3_ = (NimStringDesc*)0; T3_ = nimIntToStr(v); T2_ = rawNewString((m ? m->Sup.len : 0) + (T3_ ? T3_->Sup.len : 0) + 2);appendString(T2_, m);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_2));appendString(T2_, T3_); asgnRef((void**) (&(*T1_).Sup.Sup.message), T2_);
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultDefect", "raiseResultDefect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 279);}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NCSTRING, error__sw9aY0VeA9cBB2Qq0I9aSmqUg)(tyObject_Result__pZorf3I302ZEhkhn6lPgmg self) { NCSTRING result; result = (NCSTRING)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ if (!self.o) goto LA3_;
|
|
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); }
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__hX79a8UgJpFrjBjhaAVV9ccQ(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3), self._o_2.v);
|
|
}
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = self._o_1.e; return result;}
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__LDPs6i4WoesAlTQQkVEXSA)(NimStringDesc* m, NimStringDesc* v) { tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T1_; NimStringDesc* T2_; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T1_).Sup.Sup.name = "ResultDefect";
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0; T2_ = rawNewString((m ? m->Sup.len : 0) + (v ? v->Sup.len : 0) + 2);appendString(T2_, m);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_2));appendString(T2_, v); asgnRef((void**) (&(*T1_).Sup.Sup.message), T2_);
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultDefect", "raiseResultDefect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 279);}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NCSTRING, error__L3AB2ceMdclcraKKssjhOg)(tyObject_Result__2tk2I019cjBvNsi9aKg47acQ self) { NCSTRING result; result = (NCSTRING)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ if (!self.o) goto LA3_;
|
|
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); }
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__LDPs6i4WoesAlTQQkVEXSA(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3), self._o_2.v);
|
|
}
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = self._o_1.e; return result;}
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__J7PribAjPCGX7dqkhDSKgQ)(NimStringDesc* m, NIM_BOOL v) { tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T1_; NimStringDesc* T2_; NimStringDesc* T3_; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T1_).Sup.Sup.name = "ResultDefect";
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T3_ = (NimStringDesc*)0; T3_ = nimBoolToStr(v); T2_ = rawNewString((m ? m->Sup.len : 0) + (T3_ ? T3_->Sup.len : 0) + 2);appendString(T2_, m);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_2));appendString(T2_, T3_); asgnRef((void**) (&(*T1_).Sup.Sup.message), T2_);
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultDefect", "raiseResultDefect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 279);}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NCSTRING, error__sH4BP8FMrv1ZXvcPE8yiPg)(tyObject_Result__ilFFiS4FzkKdKwqy8wvy9cQ self) { NCSTRING result; result = (NCSTRING)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ if (!self.o) goto LA3_;
|
|
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); }
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__J7PribAjPCGX7dqkhDSKgQ(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3), self._o_2.v);
|
|
}
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = self._o_1.e; return result;}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, error__CfJlPwbJz8Fz2gNGiRdrJA)(tyObject_Result__eZlmLdJ9b4dSB3wslQQC9bRA self) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ if (!self.o) goto LA3_;
|
|
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); }
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__J7PribAjPCGX7dqkhDSKgQ(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3), self._o_2.v);
|
|
}
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = copyString(self._o_1.e); return result;}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, error__NndQoBZH0xG1T9cYuvykaLg)(tyObject_Result__HNnt9ck0SSM6g9ctpv9bOfKNQ self) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ if (!self.o) goto LA3_;
|
|
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); }
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__owuWoGCIMYubXziJ5dK27w(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3), self._o_2.v);
|
|
}
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = copyString(self._o_1.e); return result;}
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__S56PmBEfoyXYaeQK9bjstOg)(NimStringDesc* m, tyObject_PortMappingRes__HAKwlWP34w7w9bH9bs3Ehk1A* v) { tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T1_; NimStringDesc* T2_; NimStringDesc* T3_; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T1_).Sup.Sup.name = "ResultDefect";
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T3_ = (NimStringDesc*)0; T3_ = dollar___TA2b9akdw9cG7Ii9ap0VKfTXw(v); T2_ = rawNewString((m ? m->Sup.len : 0) + (T3_ ? T3_->Sup.len : 0) + 2);appendString(T2_, m);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_2));appendString(T2_, T3_); asgnRef((void**) (&(*T1_).Sup.Sup.message), T2_);
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultDefect", "raiseResultDefect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 279);}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NCSTRING, error__uH0vUhUzxd49a6deTdFkcGQ)(tyObject_Result__9bn3q9cf2t0jbXRYPFofJMAQ* self) { NCSTRING result; result = (NCSTRING)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ if (!(*self).o) goto LA3_;
|
|
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); }
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__S56PmBEfoyXYaeQK9bjstOg(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3), (&(*self)._o_2.v));
|
|
}
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = (*self)._o_1.e; return result;}
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__Kh6ukKZAQhFYqizXN1DcVA)(NimStringDesc* m, unsigned short v) { tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T1_; NimStringDesc* T2_; NimStringDesc* T3_; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T1_).Sup.Sup.name = "ResultDefect";
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T3_ = (NimStringDesc*)0; T3_ = dollar___RkX9btpg5sQIaP8yYXB6tbA(((NU64) (v))); T2_ = rawNewString((m ? m->Sup.len : 0) + (T3_ ? T3_->Sup.len : 0) + 2);appendString(T2_, m);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_2));appendString(T2_, T3_); asgnRef((void**) (&(*T1_).Sup.Sup.message), T2_);
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultDefect", "raiseResultDefect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 279);}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, error__h9aEaUi2MqbSt4uJXHzS9cVw)(tyObject_Result__h9b1jynKZrDS9bX4he8zIyhQ self) { NimStringDesc* result; result = (NimStringDesc*)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ if (!self.o) goto LA3_;
|
|
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((2 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); }
|
|
#line 540 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__Kh6ukKZAQhFYqizXN1DcVA(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3), self._o_2.v);
|
|
}
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = copyString(self._o_1.e); return result;}
|
|
|
|
#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);
|
|
}
|
|
|
|
#line 277 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultDefect__9cyNUazpEQv3o2fikqfB9aYg)(NimStringDesc* m, tyEnum_ENodeError__dOsBvqflIo9aTtaKFUq4orQ v) { tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T1_; NimStringDesc* T2_; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T1_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T1_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T1_).Sup.Sup.name = "ResultDefect";
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = rawNewString((m ? m->Sup.len : 0) + (reprEnum((NI)v, (&NTI__dOsBvqflIo9aTtaKFUq4orQ_)) ? reprEnum((NI)v, (&NTI__dOsBvqflIo9aTtaKFUq4orQ_))->Sup.len : 0) + 2);appendString(T2_, m);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_2));appendString(T2_, reprEnum((NI)v, (&NTI__dOsBvqflIo9aTtaKFUq4orQ_))); asgnRef((void**) (&(*T1_).Sup.Sup.message), T2_);
|
|
#line 279 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultDefect", "raiseResultDefect", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 279);}
|
|
|
|
#line 506 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw, expect__mtdbJjnMCpSoBmO79col9ceA)(tyObject_Result__pEDK7XSpIcDeFrCMtNkidQ* self, NimStringDesc* m) { tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw result; nimZeroMem((void*)(&result), sizeof(tyObject_ENode__bNRDNKJGQnqT2sH89bsDhBw));
|
|
#line 507 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{
|
|
#line 516 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!!((*self).o)) goto LA3_;
|
|
|
|
#line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); }
|
|
#line 518 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseResultDefect__9cyNUazpEQv3o2fikqfB9aYg(m, (*self)._o_1.e);
|
|
}
|
|
LA3_: ;
|
|
if (!(((2 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_4)); } result = (*self)._o_2.v; return result;}
|
|
static N_NIMCALL(void, Marker_tyRef__s4ejRQPG9cuU71GnBnvrEIg)(void* p, NI op) {
|
|
tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg* a;
|
|
a = (tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg*)p;
|
|
nimGCvisit((void*)(*a).Sup.Sup.Sup.parent, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.message, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.trace, op); nimGCvisit((void*)(*a).Sup.Sup.Sup.up, op);}
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__rKDhdqgCb9akECGmnA5hfHQ)(tyObject_Result__nXrOkSEm9c5tMKk12b3mVsw* self) { tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg* T1_; NimStringDesc* T2_; T1_ = (tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg*)0; T1_ = (tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg*) newObj((&NTI__s4ejRQPG9cuU71GnBnvrEIg_), sizeof(tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg)); (*T1_).Sup.Sup.Sup.Sup.m_type = (&NTI__8aZurD62luK9ca59aC9bJEVCg_); (*T1_).Sup.Sup.Sup.name = "ResultError"; if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } (*T1_).error = (*self)._o_1.e;
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } T2_ = rawNewString((reprEnum((NI)(*self)._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_)) ? reprEnum((NI)(*self)._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_))->Sup.len : 0) + 33);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_6));appendString(T2_, reprEnum((NI)(*self)._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_))); asgnRef((void**) (&(*T1_).Sup.Sup.Sup.message), T2_);
|
|
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultError", "raiseResultError", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 272);}
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__pMUglZRJuPKG1hKxzyRdYg)(tyObject_Result__cIH09cbGibawFrbeCk9akKTw self) { tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg* T1_; NimStringDesc* T2_; T1_ = (tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg*)0; T1_ = (tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg*) newObj((&NTI__s4ejRQPG9cuU71GnBnvrEIg_), sizeof(tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg)); (*T1_).Sup.Sup.Sup.Sup.m_type = (&NTI__8aZurD62luK9ca59aC9bJEVCg_); (*T1_).Sup.Sup.Sup.name = "ResultError"; if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } (*T1_).error = self._o_1.e;
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } T2_ = rawNewString((reprEnum((NI)self._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_)) ? reprEnum((NI)self._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_))->Sup.len : 0) + 33);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_6));appendString(T2_, reprEnum((NI)self._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_))); asgnRef((void**) (&(*T1_).Sup.Sup.Sup.message), T2_);
|
|
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultError", "raiseResultError", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 272);}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyEnum_AuthError__x4UCf8NgZ0RzSCU0hmt9a4w, error__r37K5G2XlcPDIBNNVlwjFw)(tyObject_Result__cIH09cbGibawFrbeCk9akKTw self) { tyEnum_AuthError__x4UCf8NgZ0RzSCU0hmt9a4w result; result = (tyEnum_AuthError__x4UCf8NgZ0RzSCU0hmt9a4w)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T5_; NimStringDesc* T6_; if (!self.o) goto LA3_;
|
|
T5_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T5_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T5_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T5_).Sup.Sup.name = "ResultDefect"; T6_ = (NimStringDesc*)0; T6_ = (*T5_).Sup.Sup.message; (*T5_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3)); if (T6_) nimGCunrefNoCycle(T6_);
|
|
#line 542 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T5_, "ResultDefect", "error", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 542); }
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = self._o_1.e; return result;}
|
|
|
|
#line 260 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseResultError__2orb9afi5Qzcse2VVMPojyA)(tyObject_Result__zwei9cK1g4ivrtgOEKgDG5g* self) { tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg* T1_; NimStringDesc* T2_; T1_ = (tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg*)0; T1_ = (tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg*) newObj((&NTI__s4ejRQPG9cuU71GnBnvrEIg_), sizeof(tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg)); (*T1_).Sup.Sup.Sup.Sup.m_type = (&NTI__8aZurD62luK9ca59aC9bJEVCg_); (*T1_).Sup.Sup.Sup.name = "ResultError"; if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } (*T1_).error = (*self)._o_1.e;
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
T2_ = (NimStringDesc*)0;
|
|
#line 273 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
if (!(((1 &(1U<<((NU)((*self).o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } T2_ = rawNewString((reprEnum((NI)(*self)._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_)) ? reprEnum((NI)(*self)._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_))->Sup.len : 0) + 33);appendString(T2_, ((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_6));appendString(T2_, reprEnum((NI)(*self)._o_1.e, (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_))); asgnRef((void**) (&(*T1_).Sup.Sup.Sup.message), T2_);
|
|
#line 272 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T1_, "ResultError", "raiseResultError", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 272);}
|
|
|
|
#line 536 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyEnum_EciesError__Faslh8ClCPeRXBVFfTATjA, error__CSKsZhLSx9cLtl7gN9bro0DA)(tyObject_Result__9cSS9aZywjhUjZ2RChHxYzwQ self) { tyEnum_EciesError__Faslh8ClCPeRXBVFfTATjA result; result = (tyEnum_EciesError__Faslh8ClCPeRXBVFfTATjA)0;
|
|
#line 537 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
|
|
#line 538 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
{ tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA* T5_; NimStringDesc* T6_; if (!self.o) goto LA3_;
|
|
T5_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*)0; T5_ = (tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*) newObj((&NTI__z4xBY9bUJB2dLWrpE4yC0SA_), sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA)); (*T5_).Sup.Sup.Sup.m_type = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_); (*T5_).Sup.Sup.name = "ResultDefect"; T6_ = (NimStringDesc*)0; T6_ = (*T5_).Sup.Sup.message; (*T5_).Sup.Sup.message = copyStringRC1(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_3)); if (T6_) nimGCunrefNoCycle(T6_);
|
|
#line 542 "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/results.nim"
|
|
raiseExceptionEx((Exception*)T5_, "ResultDefect", "error", "/home/runner/work/nim-waku/nim-waku/vendor/nim-stew/stew/result"
|
|
"s.nim", 542); }
|
|
LA3_: ;
|
|
if (!(((1 &(1U<<((NU)(self.o)&7U)))!=0))){ raiseFieldError(((NimStringDesc*) &TM__ux9cYkSFZqcoBcgTwEEx7hg_5)); } result = self._o_1.e; return result;}
|
|
N_LIB_PRIVATE N_NIMCALL(void, stew_resultsDatInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
static TNimNode TM__ux9cYkSFZqcoBcgTwEEx7hg_0[6];NTI__CQTx3KX9bfyubdA9cXO1jDAA_.size = sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA);
|
|
NTI__CQTx3KX9bfyubdA9cXO1jDAA_.kind = 17;
|
|
NTI__CQTx3KX9bfyubdA9cXO1jDAA_.base = (&NTI__LbeSGvgPzGzXnW9caIkJqMA_);
|
|
NTI__CQTx3KX9bfyubdA9cXO1jDAA_.name = "ResultDefect";
|
|
NTI__CQTx3KX9bfyubdA9cXO1jDAA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__CQTx3KX9bfyubdA9cXO1jDAA_;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[0].len = 0; TM__ux9cYkSFZqcoBcgTwEEx7hg_0[0].kind = 2;
|
|
NTI__CQTx3KX9bfyubdA9cXO1jDAA_.node = &TM__ux9cYkSFZqcoBcgTwEEx7hg_0[0];
|
|
NTI__z4xBY9bUJB2dLWrpE4yC0SA_.size = sizeof(tyObject_ResultDefect__CQTx3KX9bfyubdA9cXO1jDAA*);
|
|
NTI__z4xBY9bUJB2dLWrpE4yC0SA_.kind = 22;
|
|
NTI__z4xBY9bUJB2dLWrpE4yC0SA_.base = (&NTI__CQTx3KX9bfyubdA9cXO1jDAA_);
|
|
NTI__z4xBY9bUJB2dLWrpE4yC0SA_.name = "ref ResultDefect";
|
|
NTI__z4xBY9bUJB2dLWrpE4yC0SA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__z4xBY9bUJB2dLWrpE4yC0SA_;
|
|
NTI__z4xBY9bUJB2dLWrpE4yC0SA_.marker = Marker_tyRef__z4xBY9bUJB2dLWrpE4yC0SA;
|
|
NTI__sY5ycVggSm9cDMhASASazQw_.size = sizeof(tyObject_ResultError__sY5ycVggSm9cDMhASASazQw);
|
|
NTI__sY5ycVggSm9cDMhASASazQw_.kind = 17;
|
|
NTI__sY5ycVggSm9cDMhASASazQw_.base = (&NTI__yoNlBGx0D2tRizIdhQuENw_);
|
|
NTI__sY5ycVggSm9cDMhASASazQw_.name = "ResultError[system.cstring]";
|
|
NTI__sY5ycVggSm9cDMhASASazQw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__sY5ycVggSm9cDMhASASazQw_;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[1].kind = 1;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[1].offset = offsetof(tyObject_ResultError__sY5ycVggSm9cDMhASASazQw, error);
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[1].typ = (&NTI__S9agCYBinaYZnGWcjTdxclg_);
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[1].name = "error";
|
|
NTI__sY5ycVggSm9cDMhASASazQw_.node = &TM__ux9cYkSFZqcoBcgTwEEx7hg_0[1];
|
|
NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_.size = sizeof(tyObject_ResultError__sY5ycVggSm9cDMhASASazQw*);
|
|
NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_.kind = 22;
|
|
NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_.base = (&NTI__sY5ycVggSm9cDMhASASazQw_);
|
|
NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_.name = "ref ResultError[system.cstring]";
|
|
NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_;
|
|
NTI__DvOmDmRJ3ulv1N5ie0G9bWQ_.marker = Marker_tyRef__DvOmDmRJ3ulv1N5ie0G9bWQ;
|
|
NTI__cIH09cbGibawFrbeCk9akKTw_.size = sizeof(tyObject_Result__cIH09cbGibawFrbeCk9akKTw);
|
|
NTI__cIH09cbGibawFrbeCk9akKTw_.kind = 18;
|
|
NTI__cIH09cbGibawFrbeCk9akKTw_.base = 0;
|
|
NTI__cIH09cbGibawFrbeCk9akKTw_.flags = 3;
|
|
NTI__cIH09cbGibawFrbeCk9akKTw_.name = "AuthResult[system.void]";
|
|
NTI__cIH09cbGibawFrbeCk9akKTw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__cIH09cbGibawFrbeCk9akKTw_;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[2].kind = 3;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[2].offset = offsetof(tyObject_Result__cIH09cbGibawFrbeCk9akKTw, o);
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[2].typ = (&NTI__VaVACK0bpYmqIQ0mKcHfQQ_);
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[2].name = "o";
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[2].sons = &NimDT___cIH09cbGibawFrbeCk9akKTw_o[0];
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[2].len = 2;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[3].kind = 1;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[3].offset = offsetof(tyObject_Result__cIH09cbGibawFrbeCk9akKTw, _o_1.e);
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[3].typ = (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_);
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[3].name = "e";
|
|
NimDT___cIH09cbGibawFrbeCk9akKTw_o[0] = &TM__ux9cYkSFZqcoBcgTwEEx7hg_0[3];
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[4].len = 0; TM__ux9cYkSFZqcoBcgTwEEx7hg_0[4].kind = 2;
|
|
NimDT___cIH09cbGibawFrbeCk9akKTw_o[1] = &TM__ux9cYkSFZqcoBcgTwEEx7hg_0[4];
|
|
NTI__cIH09cbGibawFrbeCk9akKTw_.node = &TM__ux9cYkSFZqcoBcgTwEEx7hg_0[2];
|
|
NTI__8aZurD62luK9ca59aC9bJEVCg_.size = sizeof(tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg);
|
|
NTI__8aZurD62luK9ca59aC9bJEVCg_.kind = 17;
|
|
NTI__8aZurD62luK9ca59aC9bJEVCg_.base = (&NTI__yoNlBGx0D2tRizIdhQuENw_);
|
|
NTI__8aZurD62luK9ca59aC9bJEVCg_.name = "ResultError[auth.AuthError]";
|
|
NTI__8aZurD62luK9ca59aC9bJEVCg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__8aZurD62luK9ca59aC9bJEVCg_;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[5].kind = 1;
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[5].offset = offsetof(tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg, error);
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[5].typ = (&NTI__x4UCf8NgZ0RzSCU0hmt9a4w_);
|
|
TM__ux9cYkSFZqcoBcgTwEEx7hg_0[5].name = "error";
|
|
NTI__8aZurD62luK9ca59aC9bJEVCg_.node = &TM__ux9cYkSFZqcoBcgTwEEx7hg_0[5];
|
|
NTI__s4ejRQPG9cuU71GnBnvrEIg_.size = sizeof(tyObject_ResultError__8aZurD62luK9ca59aC9bJEVCg*);
|
|
NTI__s4ejRQPG9cuU71GnBnvrEIg_.kind = 22;
|
|
NTI__s4ejRQPG9cuU71GnBnvrEIg_.base = (&NTI__8aZurD62luK9ca59aC9bJEVCg_);
|
|
NTI__s4ejRQPG9cuU71GnBnvrEIg_.name = "ref ResultError[auth.AuthError]";
|
|
NTI__s4ejRQPG9cuU71GnBnvrEIg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__s4ejRQPG9cuU71GnBnvrEIg_;
|
|
NTI__s4ejRQPG9cuU71GnBnvrEIg_.marker = Marker_tyRef__s4ejRQPG9cuU71GnBnvrEIg;
|
|
}
|
|
|