The R Project SVN R

Rev

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

Rev 24068 Rev 28146
Line 53... Line 53...
53
/* Macros for S/R Compatibility */
53
/* Macros for S/R Compatibility */
54
 
54
 
55
#include <R_ext/RS.h>
55
#include <R_ext/RS.h>
56
/* for PROBLEM ... Calloc, Realloc, Free, Memcpy, F77_xxxx */
56
/* for PROBLEM ... Calloc, Realloc, Free, Memcpy, F77_xxxx */
57
 
57
 
-
 
58
/* S4 uses macros equivalent to */
-
 
59
#define Salloc(n,t) (t*)S_alloc(n, sizeof(t))
-
 
60
#define Srealloc(p,n,old,t) (t*)S_realloc(p,n,old,sizeof(t))
-
 
61
 
58
/* S's complex is different, and is a define to S_complex now */
62
/* S's complex is different, and is a define to S_complex now */
59
typedef struct {
63
typedef struct {
60
	double re;
64
	double re;
61
	double im;
65
	double im;
62
} S_complex;
66
} S_complex;