Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TRCompletion.h
Go to the documentation of this file.
1// @(#)root/r:$Id$
2// Author: Omar Zapata 29/08/2013
3// The tab-completion interface was based in R's readline code.
4#ifndef ROOT_R_TRCompletion
5#define ROOT_R_TRCompletion
6
7#include <RExports.h>
8
9#if !defined(_READLINE_H_)
10
11#if !defined (PARAMS)
12# if defined (__STDC__) || defined (__GNUC__) || defined (__cplusplus)
13# define PARAMS(protos) protos
14# else
15# define PARAMS(protos) ()
16# endif
17#endif
18extern "C"
19{
20 typedef char **rl_completion_func_t PARAMS((const char *, int, int));
21 typedef char *rl_compentry_func_t PARAMS((const char *, int));
22 extern char **rl_completion_matches PARAMS((const char *, rl_compentry_func_t *));
23 extern char *readline PARAMS((const char *));
24 extern void add_history PARAMS((const char *));
26 extern char *rl_line_buffer;
29}
30#endif //_READLINE_H_
31
32namespace ROOT {
33 namespace R {
34 char *R_completion_generator(const char *text, int state);
35 char **R_custom_completion(const char *text, int start, int end);
36 //Readline variables.
37 extern SEXP
45 extern SEXP rcompgen_rho;
46 }
47}
48
49#endif
Option_t Option_t TPoint TPoint const char text
int rl_attempted_completion_over
void add_history()
int rl_completion_append_character
rl_completion_func_t * rl_attempted_completion_function
char * rl_line_buffer
#define PARAMS(protos)
char * readline()
char ** rl_completion_matches()
char * rl_compentry_func_t()
char ** rl_completion_func_t()
SEXP RComp_assignBufferSym
char * R_completion_generator(const char *text, int state)
SEXP RComp_completeTokenSym
SEXP RComp_retrieveCompsSym
SEXP rcompgen_rho
SEXP RComp_assignStartSym
SEXP RComp_assignTokenSym
SEXP RComp_getFileCompSym
char ** R_custom_completion(const char *text, int start, int end)
SEXP RComp_assignEndSym
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...