The R Project SVN R

Rev

Rev 45667 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 45667 Rev 47460
Line 23... Line 23...
23
#include <config.h>
23
#include <config.h>
24
#endif
24
#endif
25
 
25
 
26
#include "Defn.h"
26
#include "Defn.h"
27
 
27
 
28
/*  append - append second to the tail of first    */
-
 
29
/*           This operation is non-destructive     */
-
 
30
/*           i.e. first and second are duplicated  */
-
 
31
 
-
 
32
#ifdef UNUSED
-
 
33
SEXP Rf_append(SEXP first, SEXP second)
-
 
34
{
-
 
35
    SEXP e;
-
 
36
 
-
 
37
    PROTECT(second);
-
 
38
    first = duplicate(first);
-
 
39
    UNPROTECT(1);
-
 
40
    PROTECT(first);
-
 
41
    second = duplicate(second);
-
 
42
    UNPROTECT(1);
-
 
43
    for (e = first; CDR(e) != R_NilValue; e = CDR(e));
-
 
44
    SETCDR(e, second);
-
 
45
    return first;
-
 
46
}
-
 
47
#endif
-
 
48
 
-
 
49
 
28
 
50
/*  mkPRIMSXP - return a builtin function      */
29
/*  mkPRIMSXP - return a builtin function      */
51
/*              either "builtin" or "special"  */
30
/*              either "builtin" or "special"  */
52
 
31
 
53
SEXP attribute_hidden mkPRIMSXP(int offset, int eval)
32
SEXP attribute_hidden mkPRIMSXP(int offset, int eval)