Exemplo n.º 1
0
Arquivo: sc4.c Projeto: glockwork/dfu
SC_FUNC void setfiledirect(char *name)
{
  if (sc_status==statFIRST && sc_listing) {
    assert(name!=NULL);
    pc_writeasm(outf,"#file ");
    pc_writeasm(outf,name);
    pc_writeasm(outf,"\n");
  } /* if */
}
Exemplo n.º 2
0
Arquivo: sc4.c Projeto: glockwork/dfu
SC_FUNC void setlinedirect(int line)
{
  if (sc_status==statFIRST && sc_listing) {
    char string[40];
    sprintf(string,"#line %d\n",line);
    pc_writeasm(outf,string);
  } /* if */
}
Exemplo n.º 3
0
Arquivo: sc7.c Projeto: reuben/amxmodx
static int filewrite(char *str)
{
  if (sc_status==statWRITE)
    return pc_writeasm(outf,str);
  return TRUE;
}