19
initGPRState (Gpr_t*state, Vmalloc_t* vm, FILE* outfile)
21
state->tgtname = vmstrdup (vm, "gpr_result");
23
state->outFile = outfile;
31
if (!(state = newof(0, Gpr_t, 1, 0)))
32
error (3, "Could not create gpr state: out of memory");
34
if (!(state->tmp = sfstropen()))
35
error (3, "Could not create state");