mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-15 17:35:45 +00:00
770 lines
52 KiB
C
770 lines
52 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/stdlib_streams.nim.c.o nimcache/release/example/stdlib_streams.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_StringStreamObj__Olau5FPRehZBBEB77FHnfw tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw;
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ;
|
|
typedef struct RootObj RootObj;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA;
|
|
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;
|
|
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;};
|
|
typedef N_NIMCALL_PTR(void, tyProc__JQrsH08b4uPTH9cyFPlVOZg) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0);
|
|
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__9bmhFrLahRsL2hltfRDVtlQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0);
|
|
typedef N_NIMCALL_PTR(void, tyProc__3svSoGIUJIsHkaBL7q4DAQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, NI pos);
|
|
typedef N_NIMCALL_PTR(NI, tyProc__xflqkf2D1uVClg70czEDHA) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0);
|
|
typedef N_NIMCALL_PTR(NI, tyProc__c9c0f59ak4YGQ6neEym8LPKw) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, NimStringDesc** buffer_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA slice);
|
|
typedef N_NIMCALL_PTR(NIM_BOOL, tyProc__7jFfqMk9ajToCz6Hv9atCA4A) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, NimStringDesc** line);
|
|
typedef N_NIMCALL_PTR(NI, tyProc__2VVzVL9bOnKhj1eZKkf9cEuA) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen);
|
|
typedef N_NIMCALL_PTR(void, tyProc__ki6p1QyfOkJLQJ9aw5NI0AQ) (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen);
|
|
struct tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ { RootObj Sup;tyProc__JQrsH08b4uPTH9cyFPlVOZg closeImpl;
|
|
tyProc__9bmhFrLahRsL2hltfRDVtlQ atEndImpl;
|
|
tyProc__3svSoGIUJIsHkaBL7q4DAQ setPositionImpl;
|
|
tyProc__xflqkf2D1uVClg70czEDHA getPositionImpl;
|
|
tyProc__c9c0f59ak4YGQ6neEym8LPKw readDataStrImpl;
|
|
tyProc__7jFfqMk9ajToCz6Hv9atCA4A readLineImpl;
|
|
tyProc__2VVzVL9bOnKhj1eZKkf9cEuA readDataImpl;
|
|
tyProc__2VVzVL9bOnKhj1eZKkf9cEuA peekDataImpl;
|
|
tyProc__ki6p1QyfOkJLQJ9aw5NI0AQ writeDataImpl;
|
|
tyProc__JQrsH08b4uPTH9cyFPlVOZg flushImpl;
|
|
};
|
|
struct tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw { tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ Sup;NimStringDesc* data;
|
|
NI pos;
|
|
};
|
|
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;
|
|
};
|
|
struct tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA {NI a;
|
|
NI b;
|
|
};
|
|
N_LIB_PRIVATE N_NIMCALL(void, nimGCvisit)(void* d, NI op);
|
|
static N_NIMCALL(void, Marker_tyRef__Z9cj1NxLXx79cYy9c4gbj6CAA)(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, ssClose__y1KA3B0U09bKtU09am9a9avRYQ)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, isObj)(TNimType* obj, TNimType* subclass);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseObjectConversionError)(void);
|
|
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_NIMCALL(NIM_BOOL, ssAtEnd__i3a7v4VsGcqjjJxfg0YUUg)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0);
|
|
N_LIB_PRIVATE N_NIMCALL(void, ssSetPosition__cci01mizUCs1g9a9bQPBwweQ)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, NI pos);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, clamp__hyQgGui0RxAott4YXwjJHQ)(NI x_0, NI a, NI b);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, ssGetPosition__9aSaecE8PQfXbgmZSvJsfYw)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, ssReadData__xdahQHwcesKp9bR6BAtJSqA)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseOverflow)(void);
|
|
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_NOINLINE(void, raiseIndexError2)(NI i, NI n);
|
|
N_LIB_PRIVATE N_NOINLINE(void, raiseRangeErrorI)(NI64 i, NI64 a, NI64 b);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, ssPeekData__xdahQHwcesKp9bR6BAtJSqA_2)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen);
|
|
N_LIB_PRIVATE N_NIMCALL(void, ssWriteData__4hIni0uSy3RpPUiO9aB3JUQ)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen);
|
|
N_LIB_PRIVATE N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newLen);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, ssReadDataStr__78VQwN48e7jIIL2Q9bINIFw)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, NimStringDesc** buffer_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA slice);
|
|
static N_NIMCALL(void, Marker_tyRef__1G0jiQbe7KwD5ADza5AZaw)(void* p, NI op);
|
|
N_LIB_PRIVATE N_NIMCALL(NI, readData__xdahQHwcesKp9bR6BAtJSqA_3)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen);
|
|
extern TNimType NTI__ytyiCJqK439aF9cIibuRVpAg_;
|
|
N_LIB_PRIVATE TNimType NTI__THYguAi9bSgidczZ3ywEIMQ_;
|
|
N_LIB_PRIVATE TNimType NTI__JQrsH08b4uPTH9cyFPlVOZg_;
|
|
N_LIB_PRIVATE TNimType NTI__9bmhFrLahRsL2hltfRDVtlQ_;
|
|
N_LIB_PRIVATE TNimType NTI__3svSoGIUJIsHkaBL7q4DAQ_;
|
|
N_LIB_PRIVATE TNimType NTI__xflqkf2D1uVClg70czEDHA_;
|
|
N_LIB_PRIVATE TNimType NTI__c9c0f59ak4YGQ6neEym8LPKw_;
|
|
N_LIB_PRIVATE TNimType NTI__7jFfqMk9ajToCz6Hv9atCA4A_;
|
|
N_LIB_PRIVATE TNimType NTI__2VVzVL9bOnKhj1eZKkf9cEuA_;
|
|
N_LIB_PRIVATE TNimType NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_;
|
|
N_LIB_PRIVATE TNimType NTI__Olau5FPRehZBBEB77FHnfw_;
|
|
extern TNimType NTI__77mFvmsOLKik79ci2hXkHEg_;
|
|
extern TNimType NTI__rR5Bzr1D5krxoo1NcNyeMA_;
|
|
N_LIB_PRIVATE TNimType NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_;
|
|
N_LIB_PRIVATE TNimType NTI__1G0jiQbe7KwD5ADza5AZaw_;
|
|
extern TNimType* nimTypeRoot;
|
|
extern NIM_THREADVAR tyObject_GcHeap__1TRH1TZMaVZTnLNcIHuNFQ gch__IcYaEuuWivYAS86vFMTS3Q;
|
|
static N_NIMCALL(void, Marker_tyRef__Z9cj1NxLXx79cYy9c4gbj6CAA)(void* p, NI op) {
|
|
tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* a;
|
|
a = (tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*)p;
|
|
nimGCvisit((void*)(*a).data, 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 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 1149 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, ssClose__y1KA3B0U09bKtU09am9a9avRYQ)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0) { tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* s_2;
|
|
#line 1150 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (s_0 && !isObj((*s_0).Sup.m_type, (&NTI__Olau5FPRehZBBEB77FHnfw_))){ raiseObjectConversionError(); } s_2 = ((tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) (s_0));
|
|
#line 1152 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
asgnRef((void**) (&(*s_2).data), ((NimStringDesc*) NIM_NIL));}
|
|
|
|
#line 1099 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NIM_BOOL, ssAtEnd__i3a7v4VsGcqjjJxfg0YUUg)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0) { NIM_BOOL result; tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* s_2;{ result = (NIM_BOOL)0;
|
|
#line 1100 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (s_0 && !isObj((*s_0).Sup.m_type, (&NTI__Olau5FPRehZBBEB77FHnfw_))){ raiseObjectConversionError(); } s_2 = ((tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) (s_0));
|
|
#line 1101 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1101 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1101 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1101 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = (((*s_2).data ? (*s_2).data->Sup.len : 0) <= (*s_2).pos); goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#line 1103 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, ssSetPosition__cci01mizUCs1g9a9bQPBwweQ)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, NI pos) { tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* s_2;
|
|
#line 1104 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (s_0 && !isObj((*s_0).Sup.m_type, (&NTI__Olau5FPRehZBBEB77FHnfw_))){ raiseObjectConversionError(); } s_2 = ((tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) (s_0));
|
|
#line 1105 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1105 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1105 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*s_2).pos = clamp__hyQgGui0RxAott4YXwjJHQ(pos, ((NI) 0), ((*s_2).data ? (*s_2).data->Sup.len : 0));}
|
|
|
|
#line 1107 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, ssGetPosition__9aSaecE8PQfXbgmZSvJsfYw)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0) { NI result; tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* s_2;{ result = (NI)0;
|
|
#line 1108 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (s_0 && !isObj((*s_0).Sup.m_type, (&NTI__Olau5FPRehZBBEB77FHnfw_))){ raiseObjectConversionError(); } s_2 = ((tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) (s_0));
|
|
#line 1109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1109 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = (*s_2).pos; goto BeforeRet_;
|
|
}BeforeRet_: ;
|
|
return result;}
|
|
|
|
#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 1123 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, ssReadData__xdahQHwcesKp9bR6BAtJSqA)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen) { NI result; tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* s_2; NI TM__Ue7tnBcsL67VCiRfvt8q0A_4; result = (NI)0;
|
|
#line 1124 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (s_0 && !isObj((*s_0).Sup.m_type, (&NTI__Olau5FPRehZBBEB77FHnfw_))){ raiseObjectConversionError(); } s_2 = ((tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) (s_0));
|
|
#line 1125 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1125 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1125 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1125 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimSubInt(((*s_2).data ? (*s_2).data->Sup.len : 0), (*s_2).pos, &TM__Ue7tnBcsL67VCiRfvt8q0A_4)) { raiseOverflow(); }; result = ((bufLen <= (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_4)) ? bufLen : (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_4));
|
|
#line 1126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
{ NI TM__Ue7tnBcsL67VCiRfvt8q0A_5;
|
|
#line 1126 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (!(((NI) 0) < result)) goto LA3_;
|
|
|
|
#line 1127 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if ((NU)((*s_2).pos) >= (NU)((*s_2).data ? (*s_2).data->Sup.len : 0)){ raiseIndexError2((*s_2).pos,((*s_2).data ? (*s_2).data->Sup.len : 0)-1); } if ((result) < ((NI) 0) || (result) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(result, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 1127 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(buffer_0, ((void*) ((&(*s_2).data->data[(*s_2).pos]))), ((NI) (result)));
|
|
|
|
#line 1128 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimAddInt((*s_2).pos, result, &TM__Ue7tnBcsL67VCiRfvt8q0A_5)) { raiseOverflow(); }; (*s_2).pos = (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_5); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 1130 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = ((NI) 0); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 1132 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, ssPeekData__xdahQHwcesKp9bR6BAtJSqA_2)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen) { NI result; tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* s_2; NI TM__Ue7tnBcsL67VCiRfvt8q0A_6; result = (NI)0;
|
|
#line 1133 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (s_0 && !isObj((*s_0).Sup.m_type, (&NTI__Olau5FPRehZBBEB77FHnfw_))){ raiseObjectConversionError(); } s_2 = ((tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) (s_0));
|
|
#line 1134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1134 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimSubInt(((*s_2).data ? (*s_2).data->Sup.len : 0), (*s_2).pos, &TM__Ue7tnBcsL67VCiRfvt8q0A_6)) { raiseOverflow(); }; result = ((bufLen <= (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_6)) ? bufLen : (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_6));
|
|
#line 1135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
{
|
|
#line 1135 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (!(((NI) 0) < result)) goto LA3_;
|
|
|
|
#line 1136 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if ((NU)((*s_2).pos) >= (NU)((*s_2).data ? (*s_2).data->Sup.len : 0)){ raiseIndexError2((*s_2).pos,((*s_2).data ? (*s_2).data->Sup.len : 0)-1); } if ((result) < ((NI) 0) || (result) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(result, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 1136 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(buffer_0, ((void*) ((&(*s_2).data->data[(*s_2).pos]))), ((NI) (result)));
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 1138 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = ((NI) 0); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 1140 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(void, ssWriteData__4hIni0uSy3RpPUiO9aB3JUQ)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen) { tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* s_2; NI TM__Ue7tnBcsL67VCiRfvt8q0A_9;{
|
|
#line 1141 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (s_0 && !isObj((*s_0).Sup.m_type, (&NTI__Olau5FPRehZBBEB77FHnfw_))){ raiseObjectConversionError(); } s_2 = ((tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) (s_0));
|
|
#line 1142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
{
|
|
#line 1142 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (!(bufLen <= ((NI) 0))) goto LA3_;
|
|
|
|
#line 1143 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
goto BeforeRet_;
|
|
}
|
|
LA3_: ;
|
|
|
|
#line 1144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
{ NI TM__Ue7tnBcsL67VCiRfvt8q0A_7; NI TM__Ue7tnBcsL67VCiRfvt8q0A_8;
|
|
#line 1144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1144 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimAddInt((*s_2).pos, bufLen, &TM__Ue7tnBcsL67VCiRfvt8q0A_7)) { raiseOverflow(); }; if (!(((*s_2).data ? (*s_2).data->Sup.len : 0) < (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_7))) goto LA7_;
|
|
|
|
#line 1145 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1145 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimAddInt((*s_2).pos, bufLen, &TM__Ue7tnBcsL67VCiRfvt8q0A_8)) { raiseOverflow(); }; if (((NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_8)) < ((NI) 0) || ((NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_8)) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI((NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_8), ((NI) 0), ((NI) IL64(9223372036854775807))); } asgnRef((void**) (&(*s_2).data), setLengthStr((*s_2).data, ((NI) ((NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_8))))); }
|
|
LA7_: ;
|
|
|
|
#line 1146 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if ((NU)((*s_2).pos) >= (NU)((*s_2).data ? (*s_2).data->Sup.len : 0)){ raiseIndexError2((*s_2).pos,((*s_2).data ? (*s_2).data->Sup.len : 0)-1); } if ((bufLen) < ((NI) 0) || (bufLen) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(bufLen, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 1146 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*s_2).data->data[(*s_2).pos]))), buffer_0, ((NI) (bufLen)));
|
|
|
|
#line 1147 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimAddInt((*s_2).pos, bufLen, &TM__Ue7tnBcsL67VCiRfvt8q0A_9)) { raiseOverflow(); }; (*s_2).pos = (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_9); }BeforeRet_: ;
|
|
}
|
|
|
|
#line 1111 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, ssReadDataStr__78VQwN48e7jIIL2Q9bINIFw)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, NimStringDesc** buffer_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA slice) { NI result; tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* s_2; NI TM__Ue7tnBcsL67VCiRfvt8q0A_10; NI TM__Ue7tnBcsL67VCiRfvt8q0A_11; NI TM__Ue7tnBcsL67VCiRfvt8q0A_12; result = (NI)0;
|
|
#line 1112 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (s_0 && !isObj((*s_0).Sup.m_type, (&NTI__Olau5FPRehZBBEB77FHnfw_))){ raiseObjectConversionError(); } s_2 = ((tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) (s_0));
|
|
#line 1113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimAddInt(slice.b, ((NI) 1), &TM__Ue7tnBcsL67VCiRfvt8q0A_10)) { raiseOverflow(); }; if (nimSubInt((NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_10), slice.a, &TM__Ue7tnBcsL67VCiRfvt8q0A_11)) { raiseOverflow(); };
|
|
#line 1113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 1113 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimSubInt(((*s_2).data ? (*s_2).data->Sup.len : 0), (*s_2).pos, &TM__Ue7tnBcsL67VCiRfvt8q0A_12)) { raiseOverflow(); }; result = (((NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_11) <= (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_12)) ? (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_11) : (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_12));
|
|
#line 1114 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
{ NI TM__Ue7tnBcsL67VCiRfvt8q0A_13;
|
|
#line 1114 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (!(((NI) 0) < result)) goto LA3_;
|
|
|
|
#line 1118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if ((NU)(slice.a) >= (NU)((*buffer_0) ? (*buffer_0)->Sup.len : 0)){ raiseIndexError2(slice.a,((*buffer_0) ? (*buffer_0)->Sup.len : 0)-1); } if ((NU)((*s_2).pos) >= (NU)((*s_2).data ? (*s_2).data->Sup.len : 0)){ raiseIndexError2((*s_2).pos,((*s_2).data ? (*s_2).data->Sup.len : 0)-1); } if ((result) < ((NI) 0) || (result) > ((NI) IL64(9223372036854775807))){ raiseRangeErrorI(result, ((NI) 0), ((NI) IL64(9223372036854775807))); }
|
|
#line 1118 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
copyMem__i80o3k0SgEI5gTRCzYdyWAsystem(((void*) ((&(*buffer_0)->data[slice.a]))), ((void*) ((&(*s_2).data->data[(*s_2).pos]))), ((NI) (result)));
|
|
|
|
#line 1119 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (nimAddInt((*s_2).pos, result, &TM__Ue7tnBcsL67VCiRfvt8q0A_13)) { raiseOverflow(); }; (*s_2).pos = (NI)(TM__Ue7tnBcsL67VCiRfvt8q0A_13); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 1121 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = ((NI) 0); }
|
|
LA1_: ;
|
|
return result;}
|
|
|
|
#line 1156 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*, newStringStream__9aLRtgEYeRMrZKrObtoOslQ)(NimStringDesc* s_0) { tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw* result; NimStringDesc* T1_; result = (tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*)0;
|
|
#line 1175 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = (tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*) newObj((&NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_), sizeof(tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw)); (*result).Sup.Sup.m_type = (&NTI__Olau5FPRehZBBEB77FHnfw_);
|
|
#line 1176 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
T1_ = (NimStringDesc*)0; T1_ = (*result).data; (*result).data = copyStringRC1(s_0); if (T1_) nimGCunrefNoCycle(T1_);
|
|
#line 1177 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).pos = ((NI) 0);
|
|
#line 1178 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).Sup.closeImpl = ssClose__y1KA3B0U09bKtU09am9a9avRYQ;
|
|
#line 1179 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).Sup.atEndImpl = ssAtEnd__i3a7v4VsGcqjjJxfg0YUUg;
|
|
#line 1180 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).Sup.setPositionImpl = ssSetPosition__cci01mizUCs1g9a9bQPBwweQ;
|
|
#line 1181 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).Sup.getPositionImpl = ssGetPosition__9aSaecE8PQfXbgmZSvJsfYw;
|
|
#line 1182 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).Sup.readDataImpl = ssReadData__xdahQHwcesKp9bR6BAtJSqA;
|
|
#line 1183 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).Sup.peekDataImpl = ssPeekData__xdahQHwcesKp9bR6BAtJSqA_2;
|
|
#line 1184 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).Sup.writeDataImpl = ssWriteData__4hIni0uSy3RpPUiO9aB3JUQ;
|
|
#line 1185 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
(*result).Sup.readDataStrImpl = ssReadDataStr__78VQwN48e7jIIL2Q9bINIFw; return result;}
|
|
static N_NIMCALL(void, Marker_tyRef__1G0jiQbe7KwD5ADza5AZaw)(void* p, NI op) {
|
|
tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* a;
|
|
a = (tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ*)p;
|
|
}
|
|
|
|
#line 217 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, readData__xdahQHwcesKp9bR6BAtJSqA_3)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, void* buffer_0, NI bufLen) { NI result; result = (NI)0;
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 227 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = (*s_0).readDataImpl(s_0, buffer_0, bufLen); return result;}
|
|
|
|
#line 229 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
N_LIB_PRIVATE N_NIMCALL(NI, readDataStr__78VQwN48e7jIIL2Q9bINIFw_2)(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ* s_0, NimStringDesc** buffer_0, tyObject_HSlice__EE5dzjqoOrHT6HJhIPXAvA slice) { NI result; result = (NI)0;
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
{
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 238 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if (!!(((*s_0).readDataStrImpl == NIM_NIL))) goto LA3_;
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 239 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = (*s_0).readDataStrImpl(s_0, buffer_0, slice); }
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
if ((NU)(((NI) 0)) >= (NU)((*buffer_0) ? (*buffer_0)->Sup.len : 0)){ raiseIndexError2(((NI) 0),((*buffer_0) ? (*buffer_0)->Sup.len : 0)-1); }
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
|
|
#line 242 "/home/runner/work/nim-waku/nim-waku/vendor/nimbus-build-system/vendor/Nim/lib/pure/streams.nim"
|
|
result = readData__xdahQHwcesKp9bR6BAtJSqA_3(s_0, ((void*) ((&(*buffer_0)->data[((NI) 0)]))), ((*buffer_0) ? (*buffer_0)->Sup.len : 0)); }
|
|
LA1_: ;
|
|
return result;}
|
|
N_LIB_PRIVATE N_NIMCALL(void, stdlib_streamsDatInit000)(void) {
|
|
|
|
#line 999999 "generated_not_to_break_here"
|
|
static TNimNode* TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[10];
|
|
static TNimNode* TM__Ue7tnBcsL67VCiRfvt8q0A_3_2[2];
|
|
static TNimNode TM__Ue7tnBcsL67VCiRfvt8q0A_0[14];NTI__THYguAi9bSgidczZ3ywEIMQ_.size = sizeof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ);
|
|
NTI__THYguAi9bSgidczZ3ywEIMQ_.kind = 17;
|
|
NTI__THYguAi9bSgidczZ3ywEIMQ_.base = (&NTI__ytyiCJqK439aF9cIibuRVpAg_);
|
|
NTI__THYguAi9bSgidczZ3ywEIMQ_.flags = 1;
|
|
NTI__THYguAi9bSgidczZ3ywEIMQ_.name = "StreamObj";
|
|
NTI__THYguAi9bSgidczZ3ywEIMQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__THYguAi9bSgidczZ3ywEIMQ_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[0] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[1];
|
|
NTI__JQrsH08b4uPTH9cyFPlVOZg_.size = sizeof(tyProc__JQrsH08b4uPTH9cyFPlVOZg);
|
|
NTI__JQrsH08b4uPTH9cyFPlVOZg_.kind = 25;
|
|
NTI__JQrsH08b4uPTH9cyFPlVOZg_.base = 0;
|
|
NTI__JQrsH08b4uPTH9cyFPlVOZg_.flags = 3;
|
|
NTI__JQrsH08b4uPTH9cyFPlVOZg_.name = "proc (s: Stream){.gcsafe.}";
|
|
NTI__JQrsH08b4uPTH9cyFPlVOZg_.nextType = nimTypeRoot; nimTypeRoot=&NTI__JQrsH08b4uPTH9cyFPlVOZg_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[1].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[1].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, closeImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[1].typ = (&NTI__JQrsH08b4uPTH9cyFPlVOZg_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[1].name = "closeImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[1] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[2];
|
|
NTI__9bmhFrLahRsL2hltfRDVtlQ_.size = sizeof(tyProc__9bmhFrLahRsL2hltfRDVtlQ);
|
|
NTI__9bmhFrLahRsL2hltfRDVtlQ_.kind = 25;
|
|
NTI__9bmhFrLahRsL2hltfRDVtlQ_.base = 0;
|
|
NTI__9bmhFrLahRsL2hltfRDVtlQ_.flags = 3;
|
|
NTI__9bmhFrLahRsL2hltfRDVtlQ_.name = "proc (s: Stream): bool{.gcsafe.}";
|
|
NTI__9bmhFrLahRsL2hltfRDVtlQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__9bmhFrLahRsL2hltfRDVtlQ_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[2].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[2].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, atEndImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[2].typ = (&NTI__9bmhFrLahRsL2hltfRDVtlQ_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[2].name = "atEndImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[2] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[3];
|
|
NTI__3svSoGIUJIsHkaBL7q4DAQ_.size = sizeof(tyProc__3svSoGIUJIsHkaBL7q4DAQ);
|
|
NTI__3svSoGIUJIsHkaBL7q4DAQ_.kind = 25;
|
|
NTI__3svSoGIUJIsHkaBL7q4DAQ_.base = 0;
|
|
NTI__3svSoGIUJIsHkaBL7q4DAQ_.flags = 3;
|
|
NTI__3svSoGIUJIsHkaBL7q4DAQ_.name = "proc (s: Stream, pos: int){.gcsafe.}";
|
|
NTI__3svSoGIUJIsHkaBL7q4DAQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__3svSoGIUJIsHkaBL7q4DAQ_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[3].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[3].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, setPositionImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[3].typ = (&NTI__3svSoGIUJIsHkaBL7q4DAQ_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[3].name = "setPositionImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[3] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[4];
|
|
NTI__xflqkf2D1uVClg70czEDHA_.size = sizeof(tyProc__xflqkf2D1uVClg70czEDHA);
|
|
NTI__xflqkf2D1uVClg70czEDHA_.kind = 25;
|
|
NTI__xflqkf2D1uVClg70czEDHA_.base = 0;
|
|
NTI__xflqkf2D1uVClg70czEDHA_.flags = 3;
|
|
NTI__xflqkf2D1uVClg70czEDHA_.name = "proc (s: Stream): int{.gcsafe.}";
|
|
NTI__xflqkf2D1uVClg70czEDHA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__xflqkf2D1uVClg70czEDHA_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[4].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[4].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, getPositionImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[4].typ = (&NTI__xflqkf2D1uVClg70czEDHA_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[4].name = "getPositionImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[4] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[5];
|
|
NTI__c9c0f59ak4YGQ6neEym8LPKw_.size = sizeof(tyProc__c9c0f59ak4YGQ6neEym8LPKw);
|
|
NTI__c9c0f59ak4YGQ6neEym8LPKw_.kind = 25;
|
|
NTI__c9c0f59ak4YGQ6neEym8LPKw_.base = 0;
|
|
NTI__c9c0f59ak4YGQ6neEym8LPKw_.flags = 3;
|
|
NTI__c9c0f59ak4YGQ6neEym8LPKw_.name = "proc (s: Stream, buffer: var string, slice: Slice[system.int]):"
|
|
" int{.gcsafe.}";
|
|
NTI__c9c0f59ak4YGQ6neEym8LPKw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__c9c0f59ak4YGQ6neEym8LPKw_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[5].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[5].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, readDataStrImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[5].typ = (&NTI__c9c0f59ak4YGQ6neEym8LPKw_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[5].name = "readDataStrImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[5] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[6];
|
|
NTI__7jFfqMk9ajToCz6Hv9atCA4A_.size = sizeof(tyProc__7jFfqMk9ajToCz6Hv9atCA4A);
|
|
NTI__7jFfqMk9ajToCz6Hv9atCA4A_.kind = 25;
|
|
NTI__7jFfqMk9ajToCz6Hv9atCA4A_.base = 0;
|
|
NTI__7jFfqMk9ajToCz6Hv9atCA4A_.flags = 3;
|
|
NTI__7jFfqMk9ajToCz6Hv9atCA4A_.name = "proc (s: Stream, line: var TaintedString): bool{.gcsafe.}";
|
|
NTI__7jFfqMk9ajToCz6Hv9atCA4A_.nextType = nimTypeRoot; nimTypeRoot=&NTI__7jFfqMk9ajToCz6Hv9atCA4A_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[6].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[6].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, readLineImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[6].typ = (&NTI__7jFfqMk9ajToCz6Hv9atCA4A_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[6].name = "readLineImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[6] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[7];
|
|
NTI__2VVzVL9bOnKhj1eZKkf9cEuA_.size = sizeof(tyProc__2VVzVL9bOnKhj1eZKkf9cEuA);
|
|
NTI__2VVzVL9bOnKhj1eZKkf9cEuA_.kind = 25;
|
|
NTI__2VVzVL9bOnKhj1eZKkf9cEuA_.base = 0;
|
|
NTI__2VVzVL9bOnKhj1eZKkf9cEuA_.flags = 3;
|
|
NTI__2VVzVL9bOnKhj1eZKkf9cEuA_.name = "proc (s: Stream, buffer: pointer, bufLen: int): int{.gcsafe.}";
|
|
NTI__2VVzVL9bOnKhj1eZKkf9cEuA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__2VVzVL9bOnKhj1eZKkf9cEuA_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[7].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[7].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, readDataImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[7].typ = (&NTI__2VVzVL9bOnKhj1eZKkf9cEuA_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[7].name = "readDataImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[7] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[8];
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[8].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[8].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, peekDataImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[8].typ = (&NTI__2VVzVL9bOnKhj1eZKkf9cEuA_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[8].name = "peekDataImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[8] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[9];
|
|
NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_.size = sizeof(tyProc__ki6p1QyfOkJLQJ9aw5NI0AQ);
|
|
NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_.kind = 25;
|
|
NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_.base = 0;
|
|
NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_.flags = 3;
|
|
NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_.name = "proc (s: Stream, buffer: pointer, bufLen: int){.gcsafe.}";
|
|
NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_.nextType = nimTypeRoot; nimTypeRoot=&NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[9].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[9].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, writeDataImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[9].typ = (&NTI__ki6p1QyfOkJLQJ9aw5NI0AQ_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[9].name = "writeDataImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[9] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[10];
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[10].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[10].offset = offsetof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ, flushImpl);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[10].typ = (&NTI__JQrsH08b4uPTH9cyFPlVOZg_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[10].name = "flushImpl";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[0].len = 10; TM__Ue7tnBcsL67VCiRfvt8q0A_0[0].kind = 2; TM__Ue7tnBcsL67VCiRfvt8q0A_0[0].sons = &TM__Ue7tnBcsL67VCiRfvt8q0A_2_10[0];
|
|
NTI__THYguAi9bSgidczZ3ywEIMQ_.node = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[0];
|
|
NTI__Olau5FPRehZBBEB77FHnfw_.size = sizeof(tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw);
|
|
NTI__Olau5FPRehZBBEB77FHnfw_.kind = 17;
|
|
NTI__Olau5FPRehZBBEB77FHnfw_.base = (&NTI__THYguAi9bSgidczZ3ywEIMQ_);
|
|
NTI__Olau5FPRehZBBEB77FHnfw_.name = "StringStreamObj";
|
|
NTI__Olau5FPRehZBBEB77FHnfw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Olau5FPRehZBBEB77FHnfw_;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_3_2[0] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[12];
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[12].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[12].offset = offsetof(tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw, data);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[12].typ = (&NTI__77mFvmsOLKik79ci2hXkHEg_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[12].name = "data";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_3_2[1] = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[13];
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[13].kind = 1;
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[13].offset = offsetof(tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw, pos);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[13].typ = (&NTI__rR5Bzr1D5krxoo1NcNyeMA_);
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[13].name = "pos";
|
|
TM__Ue7tnBcsL67VCiRfvt8q0A_0[11].len = 2; TM__Ue7tnBcsL67VCiRfvt8q0A_0[11].kind = 2; TM__Ue7tnBcsL67VCiRfvt8q0A_0[11].sons = &TM__Ue7tnBcsL67VCiRfvt8q0A_3_2[0];
|
|
NTI__Olau5FPRehZBBEB77FHnfw_.node = &TM__Ue7tnBcsL67VCiRfvt8q0A_0[11];
|
|
NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_.size = sizeof(tyObject_StringStreamObj__Olau5FPRehZBBEB77FHnfw*);
|
|
NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_.kind = 22;
|
|
NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_.base = (&NTI__Olau5FPRehZBBEB77FHnfw_);
|
|
NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_.name = "StringStream";
|
|
NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_.nextType = nimTypeRoot; nimTypeRoot=&NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_;
|
|
NTI__Z9cj1NxLXx79cYy9c4gbj6CAA_.marker = Marker_tyRef__Z9cj1NxLXx79cYy9c4gbj6CAA;
|
|
NTI__1G0jiQbe7KwD5ADza5AZaw_.size = sizeof(tyObject_StreamObj__THYguAi9bSgidczZ3ywEIMQ*);
|
|
NTI__1G0jiQbe7KwD5ADza5AZaw_.kind = 22;
|
|
NTI__1G0jiQbe7KwD5ADza5AZaw_.base = (&NTI__THYguAi9bSgidczZ3ywEIMQ_);
|
|
NTI__1G0jiQbe7KwD5ADza5AZaw_.name = "Stream";
|
|
NTI__1G0jiQbe7KwD5ADza5AZaw_.nextType = nimTypeRoot; nimTypeRoot=&NTI__1G0jiQbe7KwD5ADza5AZaw_;
|
|
NTI__1G0jiQbe7KwD5ADza5AZaw_.marker = Marker_tyRef__1G0jiQbe7KwD5ADza5AZaw;
|
|
}
|
|
|