Ejemplo n.º 1
0
N_NIMCALL(void, close_276047)(tbaselexer276029* l) {
	nimfr("close", "lexbase.nim")
	nimln(66, "lexbase.nim");
	dealloc_4645(((void*) ((*l).Buf)));
	nimln(67, "lexbase.nim");
	close_123676((*l).Input);
	popFrame();
}
Ejemplo n.º 2
0
N_NIMCALL(void, closebaselexer_180035)(tbaselexer180018* l) {
	nimfr("closeBaseLexer", "nimlexbase.nim")
	nimln(71, "nimlexbase.nim");
	dealloc_4645(((void*) ((*l).Buf)));
	nimln(72, "nimlexbase.nim");
	llstreamclose_178238((*l).Stream);
	popFrame();
}
Ejemplo n.º 3
0
N_NIMCALL(NIM_BOOL, ropeequalsfile_144093)(trope144007* r, NimStringDesc* f) {
    NIM_BOOL result;
    FILE* bin;
    void* buf;
    nimfr("ropeEqualsFile", "ropes.nim")
    result = 0;
    bin = 0;
    nimln(316, "ropes.nim");
    result = open_10203(&bin, f, ((NU8) 0), -1);
    nimln(317, "ropes.nim");
    {
        nimln(317, "ropes.nim");
        if (!!(result)) goto LA3;
        nimln(318, "ropes.nim");
        goto BeforeRet;
    }
LA3:
    ;
    nimln(319, "ropes.nim");
    buf = alloc_4601(1024);
    nimln(320, "ropes.nim");
    result = auxropeequalsfile_146014(r, &bin, buf);
    nimln(321, "ropes.nim");
    {
        NI LOC9;
        if (!result) goto LA7;
        nimln(322, "ropes.nim");
        nimln(322, "ropes.nim");
        nimln(322, "ropes.nim");
        LOC9 = 0;
        LOC9 = readbuffer_10627(bin, buf, 1024);
        result = (LOC9 == 0);
    }
LA7:
    ;
    nimln(323, "ropes.nim");
    dealloc_4645(buf);
    nimln(324, "ropes.nim");
    fclose(bin);
BeforeRet:
    ;
    popFrame();
    return result;
}