The R Project SVN R

Rev

Rev 29864 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29864 Rev 30691
Line 20... Line 20...
20
 
20
 
21
#ifndef DEFN_H_
21
#ifndef DEFN_H_
22
#define DEFN_H_
22
#define DEFN_H_
23
 
23
 
24
#define COUNTING
24
#define COUNTING
25
/* allows underscore in syntactic names, as from 1.9.0 */
-
 
26
#define UNDERSCORE_IN_NAMES 1
-
 
27
 
25
 
28
#define BYTECODE
26
#define BYTECODE
29
#define NEW_CONDITION_HANDLING
27
#define NEW_CONDITION_HANDLING
30
 
28
 
31
/* To test the write barrier used by the generational collector,
29
/* To test the write barrier used by the generational collector,
Line 574... Line 572...
574
# define deparse1line		Rf_deparse1line
572
# define deparse1line		Rf_deparse1line
575
# define DispatchGroup		Rf_DispatchGroup
573
# define DispatchGroup		Rf_DispatchGroup
576
# define DispatchOrEval		Rf_DispatchOrEval
574
# define DispatchOrEval		Rf_DispatchOrEval
577
# define duplicated		Rf_duplicated
575
# define duplicated		Rf_duplicated
578
# define dynamicfindVar		Rf_dynamicfindVar
576
# define dynamicfindVar		Rf_dynamicfindVar
-
 
577
# define EncodeRaw              Rf_EncodeRaw
-
 
578
# define EncodeString           Rf_EncodeString
579
# define endcontext		Rf_endcontext
579
# define endcontext		Rf_endcontext
580
# define errorcall		Rf_errorcall
580
# define errorcall		Rf_errorcall
581
# define ErrorMessage		Rf_ErrorMessage
581
# define ErrorMessage		Rf_ErrorMessage
582
# define factorsConform		Rf_factorsConform
582
# define factorsConform		Rf_factorsConform
583
# define FetchMethod		Rf_FetchMethod
583
# define FetchMethod		Rf_FetchMethod
Line 678... Line 678...
678
SEXP R_GetVarLocValue(R_varloc_t);
678
SEXP R_GetVarLocValue(R_varloc_t);
679
SEXP R_GetVarLocSymbol(R_varloc_t);
679
SEXP R_GetVarLocSymbol(R_varloc_t);
680
Rboolean R_GetVarLocMISSING(R_varloc_t);
680
Rboolean R_GetVarLocMISSING(R_varloc_t);
681
void R_SetVarLocValue(R_varloc_t, SEXP);
681
void R_SetVarLocValue(R_varloc_t, SEXP);
682
 
682
 
-
 
683
/* deparse option bits */
-
 
684
 
-
 
685
#define KEEPINTEGER 		1
-
 
686
#define QUOTEEXPRESSIONS 	2
-
 
687
#define SHOWATTRIBUTES 		4
-
 
688
#define USESOURCE 		8
-
 
689
#define WARNINCOMPLETE 		16
-
 
690
/* common combinations of the above */
-
 
691
#define SIMPLEDEPARSE		0
-
 
692
#define FORSOURCING		31
-
 
693
 
683
/* Other Internally Used Functions */
694
/* Other Internally Used Functions */
684
 
695
 
685
SEXP Rf_append(SEXP, SEXP); /* apparently unused now */
696
SEXP Rf_append(SEXP, SEXP); /* apparently unused now */
686
void begincontext(RCNTXT*, int, SEXP, SEXP, SEXP, SEXP, SEXP);
697
void begincontext(RCNTXT*, int, SEXP, SEXP, SEXP, SEXP, SEXP);
687
void checkArity(SEXP, SEXP);
698
void checkArity(SEXP, SEXP);
688
void CheckFormals(SEXP);
699
void CheckFormals(SEXP);
689
void CleanEd(void);
700
void CleanEd(void);
690
void DataFrameClass(SEXP);
701
void DataFrameClass(SEXP);
691
SEXP ddfindVar(SEXP, SEXP);
702
SEXP ddfindVar(SEXP, SEXP);
692
SEXP deparse1(SEXP,Rboolean,Rboolean,Rboolean);
703
SEXP deparse1(SEXP,Rboolean,int);
693
SEXP deparse1line(SEXP,Rboolean);
704
SEXP deparse1line(SEXP,Rboolean);
694
int DispatchOrEval(SEXP, SEXP, char*, SEXP, SEXP, SEXP*, int, int);
705
int DispatchOrEval(SEXP, SEXP, char*, SEXP, SEXP, SEXP*, int, int);
695
int DispatchGroup(char*, SEXP,SEXP,SEXP,SEXP,SEXP*);
706
int DispatchGroup(char*, SEXP,SEXP,SEXP,SEXP,SEXP*);
696
SEXP duplicated(SEXP);
707
SEXP duplicated(SEXP);
697
SEXP dynamicfindVar(SEXP, RCNTXT*);
708
SEXP dynamicfindVar(SEXP, RCNTXT*);
Line 826... Line 837...
826
void yyprompt(char *format, ...);
837
void yyprompt(char *format, ...);
827
int yywrap(void);
838
int yywrap(void);
828
 
839
 
829
/* ../../main/printutils.c : */
840
/* ../../main/printutils.c : */
830
int	Rstrlen(SEXP, int);
841
int	Rstrlen(SEXP, int);
-
 
842
char *EncodeRaw(Rbyte);
831
char *EncodeString(SEXP, int, int, int);
843
char *EncodeString(SEXP, int, int, int);
832
 
844
 
833
/* Macros for suspending interrupts */
845
/* Macros for suspending interrupts */
834
#define BEGIN_SUSPEND_INTERRUPTS do { \
846
#define BEGIN_SUSPEND_INTERRUPTS do { \
835
    Rboolean __oldsusp__ = R_interrupts_suspended; \
847
    Rboolean __oldsusp__ = R_interrupts_suspended; \