The R Project SVN R

Rev

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

Rev 71873 Rev 71879
Line 23... Line 23...
23
   All entries here should be documented in doc/manual/R-exts.texi.
23
   All entries here should be documented in doc/manual/R-exts.texi.
24
 
24
 
25
   It should not be included by package sources unless they are
25
   It should not be included by package sources unless they are
26
   providing such a front-end.
26
   providing such a front-end.
27
 
27
 
28
   If CSTACK_DEFNS is defined, also define HAVE_UINTPTR_T before
28
   If CSTACK_DEFNS is defined, also define HAVE_UINTPTR_T (if true)
29
   including this perhaps by including Rconfig.h from C code (for C++
29
   before including this, perhaps by including Rconfig.h from C code
30
   you need to test the C++ compiler in use).
30
   (for C++ you need to test the C++ compiler in use).
31
*/
31
*/
32
 
32
 
33
#ifndef RINTERFACE_H_
33
#ifndef RINTERFACE_H_
34
#define RINTERFACE_H_
34
#define RINTERFACE_H_
35
 
35
 
Line 101... Line 101...
101
 
101
 
102
/* in ../unix/system.c */
102
/* in ../unix/system.c */
103
extern int R_running_as_main_program;
103
extern int R_running_as_main_program;
104
 
104
 
105
#ifdef CSTACK_DEFNS
105
#ifdef CSTACK_DEFNS
106
/* duplicating Defn.h */
106
/* duplicating older Defn.h.
-
 
107
   Note: this is never used when including Rinterface.h from R itself
-
 
108
*/
107
#if !defined(HAVE_UINTPTR_T) && !defined(uintptr_t)
109
#if !defined(HAVE_UINTPTR_T) && !defined(uintptr_t)
108
 typedef unsigned long uintptr_t;
110
 typedef unsigned long uintptr_t;
109
#else
111
#else
110
# ifndef __cplusplus
112
# ifndef __cplusplus
111
#  include <stdint.h>
113
#  include <stdint.h>