RL
view release on metacpan or search on metacpan
int key;
CODE:
RETVAL = rl_complete(count, key);
OUTPUT:
RETVAL
void
completion_matches (text, func_sv)
const char *text;
SV *func_sv;
PPCODE:
if (completion_matches_function_sv) {
SvSetSV(completion_matches_function_sv, func_sv);
}
else {
completion_matches_function_sv = newSVsv(func_sv);
}
char **matches = rl_completion_matches(text, completion_matches_function_wrapper);
if (!matches) {
XSRETURN_EMPTY;
}
( run in 1.120 second using v1.01-cache-2.11-cpan-5511b514fd6 )