search for: qstrdup

Displaying 1 result from an estimated 1 matches for "qstrdup".

Did you mean: strdup
2012 Aug 20
0
Problem with initializiing R main loop under Windows (R.dll-version: 2.15.1)
...wn handlers R_SetParams(&RParams); // flush the console input buffer // call to WINAPI: clears all that's in stdin FlushConsoleInputBuffer(GetStdHandle(STD_INPUT_HANDLE)); // Fake a command line int argc = 2; char* argv[2] = { qstrdup ("--no-save"), qstrdup ("--no-restore") }; // redirect the BREAK signal to own handler signal(SIGBREAK, pi_onintr); // set the arguments in R R_set_command_line_arguments (argc, argv); // Here, the main initialization of R is perf...