Example #1
0
static N_INLINE(void, asgnRef)(void** dest, void* src) {
    nimfr("asgnRef", "gc.nim")
    nimln(244, "gc.nim");
    {
        Tcell46746* LOC5;
        if (!!((src == NIM_NIL))) goto LA3;
        LOC5 = 0;
        LOC5 = usrtocell_50246(src);
        incref_52622(LOC5);
    }
LA3:
    ;
    nimln(245, "gc.nim");
    {
        Tcell46746* LOC10;
        if (!!(((*dest) == NIM_NIL))) goto LA8;
        LOC10 = 0;
        LOC10 = usrtocell_50246((*dest));
        decref_52204(LOC10);
    }
LA8:
    ;
    nimln(246, "gc.nim");
    (*dest) = src;
    popFrame();
}
Example #2
0
static N_INLINE(void, nimGCunref)(void* p) {
	Tcell46747* LOC1;
	nimfr("nimGCunref", "gc.nim")
	nimln(223, "gc.nim");
	LOC1 = 0;
	LOC1 = usrtocell_50246(p);
	decref_52204(LOC1);
	popFrame();
}