32 static int list_index, ncomp;
33 static char **compstrings;
42 const void *vmax = vmaxget();
48 ncomp = Rf_length(completions);
50 compstrings = (
char **)
malloc(ncomp *
sizeof(
char *));
51 if (!compstrings)
return (
char *)NULL;
52 for (i = 0; i < ncomp; i++)
53 compstrings[i] = strdup(Rf_translateChar(STRING_ELT(completions, i)));
59 if (list_index < ncomp)
60 return compstrings[list_index++];
63 if (ncomp > 0)
free(compstrings);
72 char **matches = (
char **)NULL;
Option_t Option_t TPoint TPoint const char text
int rl_attempted_completion_over
int rl_completion_append_character
char ** rl_completion_matches()
SEXP RComp_assignBufferSym
char * R_completion_generator(const char *text, int state)
SEXP RComp_completeTokenSym
SEXP RComp_retrieveCompsSym
SEXP RComp_assignStartSym
SEXP RComp_assignTokenSym
SEXP RComp_getFileCompSym
char ** R_custom_completion(const char *text, int start, int end)
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...