Example #1
0
}N_NIMCALL(void, TMP929)(void* p, NI op) {
	tstringstream142999* a;
	a = (tstringstream142999*)p;
	nimGCvisit((void*)(*a).Data, op);
}
N_NIMCALL(void, T3723162438_3)(void) {
	nimGCvisit((void*)mainmodinit_531149_3723162438, 0);
}
N_NIMCALL(void, T3723162438_5)(void) {
	nimGCvisit((void*)maindatinit_531151_3723162438, 0);
}
Example #4
0
static N_NIMCALL(void, Marker_TY_f4WZajr79aZLBPITqz2rcdA)(void* p, NI op) {
	Tllstream_IHsOGFu33dIY69a9bLlFHlHw* a;
	a = (Tllstream_IHsOGFu33dIY69a9bLlFHlHw*)p;
	nimGCvisit((void*)(*a).s, op);
}
Example #5
0
N_NIMCALL(void, TMP975)(void* p, NI op) {
	tident165019* a;
	a = (tident165019*)p;
	nimGCvisit((void*)(*a).S, op);
	nimGCvisit((void*)(*a).Next, op);
}
Example #6
0
N_NIMCALL(void, TMP2455)(void* p, NI op) {
	Trstnode295011* a;
	a = (Trstnode295011*)p;
	nimGCvisit((void*)(*a).text, op);
	nimGCvisit((void*)(*a).sons, op);
}
N_NIMCALL(void, T1780494535_9)(void* p, NI op) {
	Stringstreamobj158777* a;
	a = (Stringstreamobj158777*)p;
	nimGCvisit((void*)(*a).data, op);
}
Example #8
0
N_NIMCALL(void, TMP4957)(void* p, NI op) {
	Tgen507016* a;
	a = (Tgen507016*)p;
	nimGCvisit((void*)(*a).module, op);
}
Example #9
0
N_NIMCALL(void, TMP5230)(void* p, NI op) {
	Tgen514007* a;
	a = (Tgen514007*)p;
	nimGCvisit((void*)(*a).module, op);
}
Example #10
0
N_NIMCALL(void, TMP262)(void* p, NI op) {
	tlistentry117017* a;
	a = (tlistentry117017*)p;
	nimGCvisit((void*)(*a).Prev, op);
	nimGCvisit((void*)(*a).Next, op);
}
Example #11
0
N_NIMCALL(void, TMP48)(void* p, NI op) {
	Stringtableobj140209* a;
	a = (Stringtableobj140209*)p;
	nimGCvisit((void*)(*a).data, op);
}
Example #12
0
N_NIMCALL(void, TMP167)(void* p, NI op) {
	Table321033* a;
	a = (Table321033*)p;
	nimGCvisit((void*)(*a).data, op);
}
Example #13
0
N_NIMCALL(void, TMP10591)(void* p, NI op) {
	Tgen506016* a;
	a = (Tgen506016*)p;
	nimGCvisit((void*)(*a).module, op);
}
Example #14
0
N_NIMCALL(void, TMP10642)(void* p, NI op) {
	TY521426* a;
	a = (TY521426*)p;
	nimGCvisit((void*)(*a).stdoutsocket521408, op);
}
Example #15
0
/* The generated code is subject to the original license. */
#define NIM_INTBITS 32

#include "nimbase.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Tllstream204204 Tllstream204204;
typedef struct TNimObject TNimObject;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Cell47304 Cell47304;
typedef struct Cellseq47320 Cellseq47320;
typedef struct Gcheap49618 Gcheap49618;
typedef struct Gcstack49616 Gcstack49616;
typedef struct Cellset47316 Cellset47316;
typedef struct Pagedesc47312 Pagedesc47312;
typedef struct Memregion29487 Memregion29487;
typedef struct Smallchunk29439 Smallchunk29439;
typedef struct Llchunk29481 Llchunk29481;
typedef struct Bigchunk29441 Bigchunk29441;
typedef struct Intset29414 Intset29414;
typedef struct Trunk29410 Trunk29410;
typedef struct Avlnode29485 Avlnode29485;
typedef struct Gcstat49614 Gcstat49614;
typedef struct Basechunk29437 Basechunk29437;
typedef struct Freecell29429 Freecell29429;
typedef N_NIMCALL_PTR(void, TY3489) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3494) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3489 marker;
TY3494 deepcopy;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tllstream204204  {
  TNimObject Sup;
NU8 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
struct  Cell47304  {
NI refcount;
TNimType* typ;
};
struct  Cellseq47320  {
NI len;
NI cap;
Cell47304** d;
};
struct  Cellset47316  {
NI counter;
NI max;
Pagedesc47312* head;
Pagedesc47312** data;
};
typedef Smallchunk29439* TY29502[512];
typedef Trunk29410* Trunkbuckets29412[256];
struct  Intset29414  {
Trunkbuckets29412 data;
};
struct  Memregion29487  {
NI minlargeobj;
NI maxlargeobj;
TY29502 freesmallchunks;
Llchunk29481* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk29441* freechunkslist;
Intset29414 chunkstarts;
Avlnode29485* root;
Avlnode29485* deleted;
Avlnode29485* last;
Avlnode29485* freeavlnodes;
};
struct  Gcstat49614  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Gcheap49618  {
Gcstack49616* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq47320 zct;
Cellseq47320 decstack;
Cellset47316 cycleroots;
Cellseq47320 tempstack;
NI recgclock;
Memregion29487 region;
Gcstat49614 stat;
};
typedef NU8 TY204404[32];
struct  Gcstack49616  {
Gcstack49616* prev;
Gcstack49616* next;
void* starts;
void* pos;
NI maxstacksize;
};
typedef NI TY29418[16];
struct  Pagedesc47312  {
Pagedesc47312* next;
NI key;
TY29418 bits;
};
struct  Basechunk29437  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk29439  {
  Basechunk29437 Sup;
Smallchunk29439* next;
Smallchunk29439* prev;
Freecell29429* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk29481  {
NI size;
NI acc;
Llchunk29481* next;
};
struct  Bigchunk29441  {
  Basechunk29437 Sup;
Bigchunk29441* next;
Bigchunk29441* prev;
NI align;
NF data;
};
struct  Trunk29410  {
Trunk29410* next;
NI key;
TY29418 bits;
};
typedef Avlnode29485* TY29492[2];
struct  Avlnode29485  {
TY29492 link;
NI key;
NI upperbound;
NI level;
};
struct  Freecell29429  {
Freecell29429* next;
NI zerofield;
};
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP1231)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(NIM_BOOL, open_15403)(FILE** f, NimStringDesc* filename, NU8 mode, NI bufsize);
N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s, NI newlen);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s, NIM_CHAR c);
N_NIMCALL(NIM_BOOL, readline_15513)(FILE* f, NimStringDesc** line);
N_NIMCALL(NI, readbuffer_15554)(FILE* f, void* buffer, NI len);
N_NIMCALL(NI, llreadfromstdin_204486)(Tllstream204204* s, void* buf, NI buflen);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
static N_INLINE(Cell47304*, usrtocell_51240)(void* usr);
static N_INLINE(void, rtladdzct_52801)(Cell47304* c);
N_NOINLINE(void, addzct_51217)(Cellseq47320* s, Cell47304* c);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap);
N_NIMCALL(NIM_BOOL, readlinefromstdin_204280)(NimStringDesc* prompt, NimStringDesc** line);
N_NIMCALL(void, write_15489)(FILE* f, NimStringDesc* s);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src);
static N_INLINE(void, appendString)(NimStringDesc* dest, NimStringDesc* src);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest, NI addlen);
N_NIMCALL(NI, counttriples_204453)(NimStringDesc* s);
static N_INLINE(NIM_BOOL, continueline_204436)(NimStringDesc* line, NIM_BOOL intriplestring);
N_NIMCALL(NIM_BOOL, endswith_204401)(NimStringDesc* x, TY204404 s);
N_NIMCALL(NI, writebuffer_15576)(FILE* f, void* buffer, NI len);
N_NIMCALL(void, llstreamwrite_204593)(Tllstream204204* s, NimStringDesc* data);
STRING_LITERAL(TMP1246, "", 0);
STRING_LITERAL(TMP1247, "\015\012", 2);
STRING_LITERAL(TMP1248, ">>> ", 4);
STRING_LITERAL(TMP1249, "... ", 4);
static NIM_CONST TY204404 TMP1250 = {
0x00, 0x00, 0x00, 0x00, 0x7A, 0xBC, 0x00, 0xF4,
0x01, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x50,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
static NIM_CONST TY204404 TMP1540 = {
0x00, 0x00, 0x00, 0x00, 0x72, 0xBC, 0x00, 0xD0,
0x01, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x50,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
extern TNimType NTI3608; /* RootObj */
TNimType NTI204204; /* TLLStream */
TNimType NTI204202; /* TLLStreamKind */
extern TNimType NTI15004; /* File */
extern TNimType NTI138; /* string */
extern TNimType NTI104; /* int */
TNimType NTI204206; /* PLLStream */
extern Gcheap49618 gch_49659;
extern TNimType NTI136; /* char */
TNimType NTI204404; /* set[char] */
N_NIMCALL(void, TMP1231)(void* p, NI op) {
	Tllstream204204* a;
	a = (Tllstream204204*)p;
	nimGCvisit((void*)(*a).s, op);
}
Example #16
0
}N_NIMCALL(void, TMP298)(void* p, NI op) {
	tstringtable112610* a;
	a = (tstringtable112610*)p;
	nimGCvisit((void*)(*a).Data, op);
}
Example #17
0
static N_NIMCALL(void, T_UpH3CWy69aOHB2xkQBDirlg_2)(void) {
	nimGCvisit((void*)gsymbols_tS4f2TwBfIz6zIuFAktH6g, 0);
}
Example #18
0
static N_NIMCALL(void, T_LEa0rTUoGHqcCT74IoUuTg_2)(void) {
	nimGCvisit((void*)tnl_Gp8EwkcsAP9am1klnCCHM4w, 0);
}
Example #19
0
N_NIMCALL(void, TMP3178)(void* p, NI op) {
	TY400596* a;
	a = (TY400596*)p;
	nimGCvisit((void*)(*a).p400485, op);
}
Example #20
0
/* The generated code is subject to the original license. */
#define NIM_INTBITS 32
#include "nimbase.h"

#include <string.h>
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Tlistentry129022 Tlistentry129022;
typedef struct TNimObject TNimObject;
typedef struct Tlinkedlist129028 Tlinkedlist129028;
typedef struct Tcell46147 Tcell46147;
typedef struct Tcellset46159 Tcellset46159;
typedef struct Tgcheap48016 Tgcheap48016;
typedef struct Tcellseq46163 Tcellseq46163;
typedef struct Tpagedesc46155 Tpagedesc46155;
typedef struct Tmemregion28010 Tmemregion28010;
typedef struct Tsmallchunk27240 Tsmallchunk27240;
typedef struct Tllchunk28004 Tllchunk28004;
typedef struct Tbigchunk27242 Tbigchunk27242;
typedef struct Tintset27217 Tintset27217;
typedef struct Ttrunk27213 Ttrunk27213;
typedef struct Tavlnode28008 Tavlnode28008;
typedef struct Tgcstat48014 Tgcstat48014;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Tstrentry129024 Tstrentry129024;
typedef struct Tbasechunk27238 Tbasechunk27238;
typedef struct Tfreecell27230 Tfreecell27230;
typedef N_NIMCALL_PTR(void, TY3289) (void* p, NI op);
typedef N_NIMCALL_PTR(void*, TY3294) (void* p);
struct  TNimType  {
NI size;
NU8 kind;
NU8 flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3289 marker;
TY3294 deepcopy;
};
struct  TNimNode  {
NU8 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  TNimObject  {
TNimType* m_type;
};
struct  Tlistentry129022  {
  TNimObject Sup;
Tlistentry129022* prev;
Tlistentry129022* next;
};
struct  Tlinkedlist129028  {
Tlistentry129022* head;
Tlistentry129022* tail;
NI counter;
};
struct  Tcell46147  {
NI refcount;
TNimType* typ;
};
struct  Tcellseq46163  {
NI len;
NI cap;
Tcell46147** d;
};
struct  Tcellset46159  {
NI counter;
NI max;
Tpagedesc46155* head;
Tpagedesc46155** data;
};
typedef Tsmallchunk27240* TY28022[512];
typedef Ttrunk27213* Ttrunkbuckets27215[256];
struct  Tintset27217  {
Ttrunkbuckets27215 data;
};
struct  Tmemregion28010  {
NI minlargeobj;
NI maxlargeobj;
TY28022 freesmallchunks;
Tllchunk28004* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Tbigchunk27242* freechunkslist;
Tintset27217 chunkstarts;
Tavlnode28008* root;
Tavlnode28008* deleted;
Tavlnode28008* last;
Tavlnode28008* freeavlnodes;
};
struct  Tgcstat48014  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Tgcheap48016  {
void* stackbottom;
NI cyclethreshold;
Tcellseq46163 zct;
Tcellseq46163 decstack;
Tcellset46159 cycleroots;
Tcellseq46163 tempstack;
NI recgclock;
Tmemregion28010 region;
Tgcstat48014 stat;
};
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tstrentry129024  {
  Tlistentry129022 Sup;
NimStringDesc* data;
};
typedef NI TY27220[16];
struct  Tpagedesc46155  {
Tpagedesc46155* next;
NI key;
TY27220 bits;
};
struct  Tbasechunk27238  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Tsmallchunk27240  {
  Tbasechunk27238 Sup;
Tsmallchunk27240* next;
Tsmallchunk27240* prev;
Tfreecell27230* freelist;
NI free;
NI acc;
NF data;
};
struct  Tllchunk28004  {
NI size;
NI acc;
Tllchunk28004* next;
};
struct  Tbigchunk27242  {
  Tbasechunk27238 Sup;
Tbigchunk27242* next;
Tbigchunk27242* prev;
NI align;
NF data;
};
struct  Ttrunk27213  {
Ttrunk27213* next;
NI key;
TY27220 bits;
};
typedef Tavlnode28008* TY28014[2];
struct  Tavlnode28008  {
TY28014 link;
NI key;
NI upperbound;
NI level;
};
struct  Tfreecell27230  {
Tfreecell27230* next;
NI zerofield;
};
N_NIMCALL(void, nimGCvisit)(void* d, NI op);
N_NIMCALL(void, TMP777)(void* p, NI op);
N_NIMCALL(void, remove_129639)(Tlinkedlist129028* list, Tlistentry129022* entry);
N_NIMCALL(void, unsureAsgnRef)(void** dest, void* src);
static N_INLINE(void, asgnRef)(void** dest, void* src);
static N_INLINE(void, incref_52022)(Tcell46147* c);
static N_INLINE(NIM_BOOL, canbecycleroot_49667)(Tcell46147* c);
static N_INLINE(void, rtladdcycleroot_50423)(Tcell46147* c);
N_NOINLINE(void, incl_46865)(Tcellset46159* s, Tcell46147* cell);
static N_INLINE(Tcell46147*, usrtocell_49646)(void* usr);
static N_INLINE(void, decref_51604)(Tcell46147* c);
static N_INLINE(void, rtladdzct_51204)(Tcell46147* c);
N_NOINLINE(void, addzct_49617)(Tcellseq46163* s, Tcell46147* c);
N_NIMCALL(void, prepend_129291)(Tlinkedlist129028* list, Tlistentry129022* entry);
static N_INLINE(NIM_BOOL, eqStrings)(NimStringDesc* a, NimStringDesc* b);
N_NIMCALL(Tstrentry129024*, newstrentry_129250)(NimStringDesc* data);
N_NIMCALL(void, TMP1652)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ, NI size);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src);
static N_INLINE(void, nimGCunrefNoCycle)(void* p);
N_NIMCALL(NI, noscmpPaths)(NimStringDesc* patha, NimStringDesc* pathb);
N_NIMCALL(void, append_129053)(Tlinkedlist129028* list, Tlistentry129022* entry);
N_NIMCALL(NIM_BOOL, contains_129219)(Tlinkedlist129028 list, NimStringDesc* data);
N_NIMCALL(void, appendstr_129268)(Tlinkedlist129028* list, NimStringDesc* data);
extern TNimType NTI3411; /* RootObj */
TNimType NTI129022; /* TListEntry */
TNimType NTI129020; /* PListEntry */
TNimType NTI129028; /* TLinkedList */
extern TNimType NTI108; /* int */
extern Tgcheap48016 gch_48044;
TNimType NTI129024; /* TStrEntry */
extern TNimType NTI149; /* string */
TNimType NTI129026; /* PStrEntry */
N_NIMCALL(void, TMP777)(void* p, NI op) {
	Tlistentry129022* a;
	a = (Tlistentry129022*)p;
	nimGCvisit((void*)(*a).prev, op);
	nimGCvisit((void*)(*a).next, op);
}
Example #21
0
N_NIMCALL(void, TMP7622)(void* p, NI op) {
	tgen519012* a;
	a = (tgen519012*)p;
	nimGCvisit((void*)(*a).Module, op);
}
N_NIMCALL(void, T4151366050_2)(void) {
	nimGCvisit((void*)tnl_177644_4151366050, 0);
}
Example #23
0
N_NIMCALL(void, TMP515)(void* p, NI op) {
	Tident190012* a;
	a = (Tident190012*)p;
	nimGCvisit((void*)(*a).s, op);
	nimGCvisit((void*)(*a).next, op);
}
/* The generated code is subject to the original license. */
#define NIM_INTBITS 32

#include "nimbase.h"
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef struct TNimType TNimType;
typedef struct TNimNode TNimNode;
typedef struct Tllstream282204 Tllstream282204;
typedef struct TNimObject TNimObject;
typedef struct NimStringDesc NimStringDesc;
typedef struct TGenericSeq TGenericSeq;
typedef struct Cell47304 Cell47304;
typedef struct Cellseq47320 Cellseq47320;
typedef struct Gcheap49818 Gcheap49818;
typedef struct Gcstack49816 Gcstack49816;
typedef struct Memregion29485 Memregion29485;
typedef struct Smallchunk29439 Smallchunk29439;
typedef struct Llchunk29479 Llchunk29479;
typedef struct Bigchunk29441 Bigchunk29441;
typedef struct Intset29414 Intset29414;
typedef struct Trunk29410 Trunk29410;
typedef struct Avlnode29483 Avlnode29483;
typedef struct Gcstat49814 Gcstat49814;
typedef struct Cellset47316 Cellset47316;
typedef struct Pagedesc47312 Pagedesc47312;
typedef struct Basechunk29437 Basechunk29437;
typedef struct Freecell29429 Freecell29429;
typedef NU8 Tnimkind3403;
typedef NU8 Tnimtypeflag3409Set;
typedef N_NIMCALL_PTR(void, TY3489) (void* p0, NI op0);
typedef N_NIMCALL_PTR(void*, TY3494) (void* p0);
struct  TNimType  {
NI size;
Tnimkind3403 kind;
Tnimtypeflag3409Set flags;
TNimType* base;
TNimNode* node;
void* finalizer;
TY3489 marker;
TY3494 deepcopy;
};
typedef NU8 Tnimnodekind3405;
struct  TNimNode  {
Tnimnodekind3405 kind;
NI offset;
TNimType* typ;
NCSTRING name;
NI len;
TNimNode** sons;
};
struct  TNimObject  {
TNimType* m_type;
};
typedef NU8 Tllstreamkind282202;
struct  TGenericSeq  {
NI len;
NI reserved;
};
struct  NimStringDesc  {
  TGenericSeq Sup;
NIM_CHAR data[SEQ_DECL_SIZE];
};
struct  Tllstream282204  {
  TNimObject Sup;
Tllstreamkind282202 kind;
FILE* f;
NimStringDesc* s;
NI rd;
NI wr;
NI lineoffset;
};
typedef NU8 Filemode13009;
struct  Cell47304  {
NI refcount;
TNimType* typ;
};
struct  Cellseq47320  {
NI len;
NI cap;
Cell47304** d;
};
typedef Smallchunk29439* TY29500[512];
typedef Trunk29410* Trunkbuckets29412[256];
struct  Intset29414  {
Trunkbuckets29412 data;
};
struct  Memregion29485  {
NI minlargeobj;
NI maxlargeobj;
TY29500 freesmallchunks;
Llchunk29479* llmem;
NI currmem;
NI maxmem;
NI freemem;
NI lastsize;
Bigchunk29441* freechunkslist;
Intset29414 chunkstarts;
Avlnode29483* root;
Avlnode29483* deleted;
Avlnode29483* last;
Avlnode29483* freeavlnodes;
NIM_BOOL locked;
};
struct  Gcstat49814  {
NI stackscans;
NI cyclecollections;
NI maxthreshold;
NI maxstacksize;
NI maxstackcells;
NI cycletablesize;
NI64 maxpause;
};
struct  Cellset47316  {
NI counter;
NI max;
Pagedesc47312* head;
Pagedesc47312** data;
};
struct  Gcheap49818  {
Gcstack49816* stack;
void* stackbottom;
NI cyclethreshold;
Cellseq47320 zct;
Cellseq47320 decstack;
Cellseq47320 tempstack;
NI recgclock;
Memregion29485 region;
Gcstat49814 stat;
Cellset47316 marked;
Cellseq47320 additionalroots;
};
typedef NU8 char136Set[32];
struct  Gcstack49816  {
Gcstack49816* prev;
Gcstack49816* next;
void* starts;
void* pos;
NI maxstacksize;
};
struct  Basechunk29437  {
NI prevsize;
NI size;
NIM_BOOL used;
};
struct  Smallchunk29439  {
  Basechunk29437 Sup;
Smallchunk29439* next;
Smallchunk29439* prev;
Freecell29429* freelist;
NI free;
NI acc;
NF data;
};
struct  Llchunk29479  {
NI size;
NI acc;
Llchunk29479* next;
};
struct  Bigchunk29441  {
  Basechunk29437 Sup;
Bigchunk29441* next;
Bigchunk29441* prev;
NI align;
NF data;
};
typedef NI TY29418[16];
struct  Trunk29410  {
Trunk29410* next;
NI key;
TY29418 bits;
};
typedef Avlnode29483* TY29490[2];
struct  Avlnode29483  {
TY29490 link;
NI key;
NI upperbound;
NI level;
};
struct  Pagedesc47312  {
Pagedesc47312* next;
NI key;
TY29418 bits;
};
struct  Freecell29429  {
Freecell29429* next;
NI zerofield;
};
N_NIMCALL(void, nimGCvisit)(void* d0, NI op0);
N_NIMCALL(void, T597494479_6)(void* p, NI op);
N_NIMCALL(void*, newObj)(TNimType* typ0, NI size0);
N_NIMCALL(NIM_BOOL, open_14803_1689653243)(FILE** f0, NimStringDesc* filename0, Filemode13009 mode0, NI bufsize0);
N_NIMCALL(NimStringDesc*, setLengthStr)(NimStringDesc* s0, NI newlen0);
N_NIMCALL(NimStringDesc*, addChar)(NimStringDesc* s0, NIM_CHAR c0);
N_NIMCALL(NIM_BOOL, readline_14915_1689653243)(FILE* f0, NimStringDesc** line0);
static N_INLINE(void, copymem_7485_1689653243)(void* dest0, void* source0, NI size0);
N_NIMCALL(NI, readbuffer_14956_1689653243)(FILE* f0, void* buffer0, NI len0);
N_NIMCALL(NI, llreadfromstdin_282486_597494479)(Tllstream282204* s0, void* buf0, NI buflen0);
N_NIMCALL(NimStringDesc*, copyStringRC1)(NimStringDesc* src0);
static N_INLINE(void, nimGCunrefNoCycle)(void* p0);
static N_INLINE(Cell47304*, usrtocell_51440_1689653243)(void* usr0);
static N_INLINE(void, rtladdzct_52601_1689653243)(Cell47304* c0);
N_NOINLINE(void, addzct_51417_1689653243)(Cellseq47320* s0, Cell47304* c0);
N_NIMCALL(NimStringDesc*, rawNewString)(NI space0);
N_NIMCALL(NimStringDesc*, rawNewString)(NI cap0);
N_NIMCALL(NIM_BOOL, readlinefromstdin_282281_597494479)(NimStringDesc* prompt0, NimStringDesc** line0);
N_NIMCALL(void, write_14891_1689653243)(FILE* f0, NimStringDesc* s0);
N_NIMCALL(NimStringDesc*, copyString)(NimStringDesc* src0);
static N_INLINE(void, appendString)(NimStringDesc* dest0, NimStringDesc* src0);
N_NIMCALL(NimStringDesc*, resizeString)(NimStringDesc* dest0, NI addlen0);
N_NIMCALL(NI, counttriples_282453_597494479)(NimStringDesc* s0);
static N_INLINE(NIM_BOOL, continueline_282436_597494479)(NimStringDesc* line0, NIM_BOOL intriplestring0);
N_NIMCALL(NIM_BOOL, endswith_282401_597494479)(NimStringDesc* x0, char136Set s0);
N_NIMCALL(void, close_14853_1689653243)(FILE* f0);
N_NIMCALL(NI, writebuffer_14978_1689653243)(FILE* f0, void* buffer0, NI len0);
N_NIMCALL(void, llstreamwrite_282593_597494479)(Tllstream282204* s0, NimStringDesc* data0);
STRING_LITERAL(T597494479_7, "", 0);
STRING_LITERAL(T597494479_8, "\012", 1);
STRING_LITERAL(T597494479_9, ">>> ", 4);
STRING_LITERAL(T597494479_10, "... ", 4);
static NIM_CONST char136Set T597494479_11 = {
0x00, 0x00, 0x00, 0x00, 0x7A, 0xBC, 0x00, 0xF4,
0x01, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x50,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
static NIM_CONST char136Set T597494479_12 = {
0x00, 0x00, 0x00, 0x00, 0x72, 0xBC, 0x00, 0xD0,
0x01, 0x00, 0x00, 0x50, 0x00, 0x00, 0x00, 0x50,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}
;
extern TNimType NTI3608; /* RootObj */
TNimType NTI282204; /* TLLStream */
TNimType NTI282202; /* TLLStreamKind */
extern TNimType NTI13007; /* File */
extern TNimType NTI138; /* string */
extern TNimType NTI104; /* int */
TNimType NTI282206; /* PLLStream */
extern Gcheap49818 gch_49858_1689653243;
extern TNimType NTI136; /* char */
TNimType NTI282404; /* set[char] */
N_NIMCALL(void, T597494479_6)(void* p, NI op) {
	Tllstream282204* a;
	a = (Tllstream282204*)p;
	nimGCvisit((void*)(*a).s, op);
}
N_NIMCALL(void, T3723162438_2)(void) {
	nimGCvisit((void*)mainmodprocs_531148_3723162438, 0);
}
Example #26
0
N_NIMCALL(void, TMP2087)(void* p, NI op) {
	Tctx263036* a;
	a = (Tctx263036*)p;
	nimGCvisit((void*)(*a).code, op);
	nimGCvisit((void*)(*a).debug, op);
	nimGCvisit((void*)(*a).globals, op);
	nimGCvisit((void*)(*a).constants, op);
	nimGCvisit((void*)(*a).types, op);
	nimGCvisit((void*)(*a).currentexceptiona, op);
	nimGCvisit((void*)(*a).currentexceptionb, op);
	nimGCvisit((void*)(*a).prc, op);
	nimGCvisit((void*)(*a).module, op);
	nimGCvisit((void*)(*a).callsite, op);
	nimGCvisit((void*)(*a).callbacks, op);
	nimGCvisit((void*)(*a).errorflag, op);
}
N_NIMCALL(void, T3723162438_4)(void) {
	nimGCvisit((void*)othermodsinit_531150_3723162438, 0);
}
Example #28
0
N_NIMCALL(void, TMP2607)(void* p, NI op) {
	Rstnode313008* a;
	a = (Rstnode313008*)p;
	nimGCvisit((void*)(*a).text, op);
	nimGCvisit((void*)(*a).sons, op);
}
N_NIMCALL(void, T3723162438_6)(void) {
	nimGCvisit((void*)gmapping_531152_3723162438, 0);
}
Example #30
0
N_NIMCALL(void, TMP1628)(void* p, NI op) {
	tllstream179204* a;
	a = (tllstream179204*)p;
	nimGCvisit((void*)(*a).S, op);
}