mirror of
https://github.com/status-im/csources-nimble.git
synced 2026-08-29 09:21:06 +00:00
118 lines
3.6 KiB
C
118 lines
3.6 KiB
C
/* Generated by Nim Compiler v1.6.11 */
|
|
#define NIM_INTBITS 64
|
|
|
|
#include "nimbase.h"
|
|
#undef LANGUAGE_C
|
|
#undef MIPSEB
|
|
#undef MIPSEL
|
|
#undef PPC
|
|
#undef R3000
|
|
#undef R4000
|
|
#undef i386
|
|
#undef linux
|
|
#undef mips
|
|
#undef near
|
|
#undef far
|
|
#undef powerpc
|
|
#undef unix
|
|
# define nimfr_(proc, file) \
|
|
TFrame FR_; \
|
|
FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = 0; nimFrame(&FR_);
|
|
|
|
# define nimfrs_(proc, file, slots, length) \
|
|
struct {TFrame* prev;NCSTRING procname;NI line;NCSTRING filename; NI len; VarSlot s[slots];} FR_; \
|
|
FR_.procname = proc; FR_.filename = file; FR_.line = 0; FR_.len = length; nimFrame((TFrame*)&FR_);
|
|
|
|
# define nimln_(n, file) \
|
|
FR_.line = n; FR_.filename = file;
|
|
typedef struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg;
|
|
typedef struct RootObj RootObj;
|
|
typedef struct TNimType TNimType;
|
|
typedef struct TNimNode TNimNode;
|
|
typedef struct tySequence__xv3aaFd3JCw8NbmALHiezQ tySequence__xv3aaFd3JCw8NbmALHiezQ;
|
|
typedef struct TGenericSeq TGenericSeq;
|
|
typedef struct tyTuple__sPaDkVPSC0MkcoXCxPH9ccA tyTuple__sPaDkVPSC0MkcoXCxPH9ccA;
|
|
typedef struct NimStringDesc NimStringDesc;
|
|
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;
|
|
NI align;
|
|
tyEnum_TNimKind__jIBKr1ejBgsfM33Kxw4j7A kind;
|
|
tySet_tyEnum_TNimTypeFlag__v8QUszD1sWlSIWZz7mC4bQ flags;
|
|
TNimType* base;
|
|
TNimNode* node;
|
|
void* finalizer;
|
|
tyProc__ojoeKfW4VYIm36I9cpDTQIg marker;
|
|
tyProc__WSm2xU5ARYv9aAR4l0z9c9auQ deepcopy;
|
|
};
|
|
struct RootObj {
|
|
TNimType* m_type;
|
|
};
|
|
typedef NU8 tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ;
|
|
struct tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg {
|
|
RootObj Sup;
|
|
NI counter;
|
|
tySequence__xv3aaFd3JCw8NbmALHiezQ* data;
|
|
tyEnum_StringTableMode__G9c4wVDFIzf0xHmQvxso9a9cQ mode;
|
|
};
|
|
struct TGenericSeq {
|
|
NI len;
|
|
NI reserved;
|
|
};
|
|
struct NimStringDesc {
|
|
TGenericSeq Sup;
|
|
NIM_CHAR data[SEQ_DECL_SIZE];
|
|
};
|
|
struct tyTuple__sPaDkVPSC0MkcoXCxPH9ccA {
|
|
NimStringDesc* Field0;
|
|
NimStringDesc* Field1;
|
|
NIM_BOOL Field2;
|
|
};
|
|
struct tySequence__xv3aaFd3JCw8NbmALHiezQ {
|
|
TGenericSeq Sup;
|
|
tyTuple__sPaDkVPSC0MkcoXCxPH9ccA data[SEQ_DECL_SIZE];
|
|
};
|
|
static N_INLINE(void, nimFrame)(TFrame* s);
|
|
N_LIB_PRIVATE N_NOINLINE(void, callDepthLimitReached__system_2997)(void);
|
|
static N_INLINE(void, popFrame)(void);
|
|
extern TFrame* framePtr__system_2564;
|
|
extern TFrame* framePtr__system_2564;
|
|
extern TFrame* framePtr__system_2564;
|
|
extern TFrame* framePtr__system_2564;
|
|
extern TFrame* framePtr__system_2564;
|
|
extern TFrame* framePtr__system_2564;
|
|
static N_INLINE(void, nimFrame)(TFrame* s) {
|
|
{
|
|
if (!(framePtr__system_2564 == ((TFrame*) NIM_NIL))) goto LA3_;
|
|
(*s).calldepth = ((NI16) 0);
|
|
}
|
|
goto LA1_;
|
|
LA3_: ;
|
|
{
|
|
(*s).calldepth = (NI16)((*framePtr__system_2564).calldepth + ((NI16) 1));
|
|
}
|
|
LA1_: ;
|
|
(*s).prev = framePtr__system_2564;
|
|
framePtr__system_2564 = s;
|
|
{
|
|
if (!((*s).calldepth == ((NI16) 2000))) goto LA8_;
|
|
callDepthLimitReached__system_2997();
|
|
}
|
|
LA8_: ;
|
|
}
|
|
static N_INLINE(void, popFrame)(void) {
|
|
framePtr__system_2564 = (*framePtr__system_2564).prev;
|
|
}
|
|
N_LIB_PRIVATE N_NIMCALL(NI, nstlen)(tyObject_StringTableObj__V5PVrt9bIxZEeV7lfvqqtNg* t) {
|
|
NI result;
|
|
nimfr_("len", "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strtabs.nim");
|
|
result = (NI)0;
|
|
nimln_(149, "/home/yyoncho/.choosenim/toolchains/nim-#version-1-6/lib/pure/strtabs.nim");
|
|
result = (*t).counter;
|
|
popFrame();
|
|
return result;
|
|
}
|