Displaying 1 result from an estimated 1 matches for "dllbufp".
Did you mean:
dllbuf
2015 Aug 21
0
Problems with embedded R, ReplDLL
...plDLLinit, in src/main/main.c:
void R_ReplDLLinit(void)
{
SETJMP(R_Toplevel.cjmpbuf);
R_GlobalContext = R_ToplevelContext = R_SessionContext = &R_Toplevel;
R_IoBufferWriteReset(&R_ConsoleIob);
prompt_type = 1;
DLLbuf[0] = DLLbuf[CONSOLE_BUFFER_SIZE] = '\0';
DLLbufp = DLLbuf;
}
The call of SETJMP makes no sense. Nothing that follows in this
function can possibly cause a long jump. The use of R_ReplDLLinit is
illustrated in the R Extensions manual (doc/manual/R-exts.texi):
R_ReplDLLinit();
while(R_ReplDLLdo1() > 0) {
/* add user...