The R Project SVN R

Rev

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

Rev 35488 Rev 35948
Line 36... Line 36...
36
#include <Rmath.h>
36
#include <Rmath.h>
37
 
37
 
38
#include <Graphics.h>
38
#include <Graphics.h>
39
 
39
 
40
#include <R_ext/RConverters.h>
40
#include <R_ext/RConverters.h>
-
 
41
#ifdef HAVE_ICONV
41
#include <R_ext/Riconv.h>
42
#include <R_ext/Riconv.h>
-
 
43
#endif
42
 
44
 
43
#ifndef max
45
#ifndef max
44
#define max(a, b) ((a > b)?(a):(b))
46
#define max(a, b) ((a > b)?(a):(b))
45
#endif
47
#endif
46
 
48
 
Line 216... Line 218...
216
    }
218
    }
217
 
219
 
218
    return(TRUE);
220
    return(TRUE);
219
}
221
}
220
 
222
 
221
#include <R_ext/Riconv.h>
-
 
222
 
-
 
223
static void *RObjToCPtr(SEXP s, int naok, int dup, int narg, int Fort,
223
static void *RObjToCPtr(SEXP s, int naok, int dup, int narg, int Fort,
224
			const char *name, R_toCConverter **converter,
224
			const char *name, R_toCConverter **converter,
225
			int targetType, char* encname)
225
			int targetType, char* encname)
226
{
226
{
227
    unsigned char *rawptr;
227
    unsigned char *rawptr;