Statistics
| Revision:

root / tmp / org.txm.statsengine.r.core.win32 / res / win32 / include / R_ext / Print.h @ 2486

History | View | Annotate | Download (1.4 kB)

1
/*
2
 *  R : A Computer Language for Statistical Data Analysis
3
 *  Copyright (C) 1998-2010    The R Core Team
4
 *
5
 *  This program is free software; you can redistribute it and/or modify
6
 *  it under the terms of the GNU Lesser General Public License as published by
7
 *  the Free Software Foundation; either version 2.1 of the License, or
8
 *  (at your option) any later version.
9
 *
10
 *  This program is distributed in the hope that it will be useful,
11
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 *  GNU Lesser General Public License for more details.
14
 *
15
 *  You should have received a copy of the GNU Lesser General Public License
16
 *  along with this program; if not, a copy is available at
17
 *  http://www.r-project.org/Licenses/
18
 */
19

    
20
/* Included by R.h: API */
21

    
22
#ifndef R_EXT_PRINT_H_
23
#define R_EXT_PRINT_H_
24

    
25
#ifdef  __cplusplus
26
/* If the vprintf interface is defined at all in C++ it may only be
27
   defined in namespace std. */
28
# ifdef R_USE_C99_IN_CXX
29
#  include <cstdarg>
30
#  ifdef __SUNPRO_CC
31
using _STLP_VENDOR_CSTD::va_list;
32
#  endif
33
# endif
34
extern "C" {
35
#else
36
# include <stdarg.h>
37
#endif
38

    
39
void Rprintf(const char *, ...);
40
void REprintf(const char *, ...);
41
#if !defined(__cplusplus) || defined R_USE_C99_IN_CXX
42
void Rvprintf(const char *, va_list);
43
void REvprintf(const char *, va_list);
44
#endif
45

    
46
#ifdef  __cplusplus
47
}
48
#endif
49

    
50
#endif /* R_EXT_PRINT_H_ */