1
/**********************************************************************
6
$Date: 2007-02-13 08:01:19 +0900 (火, 13 2月 2007) $
7
created at: Thu Mar 9 11:55:53 JST 1995
9
Copyright (C) 1993-2003 Yukihiro Matsumoto
11
**********************************************************************/
18
# ifndef HAVE_PROTOTYPES
19
# define HAVE_PROTOTYPES 1
21
# ifndef HAVE_STDARG_PROTOTYPES
22
# define HAVE_STDARG_PROTOTYPES 1
25
#ifdef HAVE_PROTOTYPES
30
#ifdef HAVE_STDARG_PROTOTYPES
31
# define __(args) args
37
#define scan_oct ruby_scan_oct
38
unsigned long ruby_scan_oct(const char *, int, int *);
39
#define scan_hex ruby_scan_hex
40
unsigned long ruby_scan_hex(const char *, int, int *);
42
#if defined(MSDOS) || defined(__CYGWIN32__) || defined(_WIN32)
43
void ruby_add_suffix(VALUE str, const char *suffix);
46
void ruby_qsort(void *, const int, const int,
47
int (*)(const void *, const void *, void *), void *);
49
void ruby_setenv(const char *, const char *);
50
void ruby_unsetenv(const char *);
53
#define setenv(name,val) ruby_setenv(name,val)
54
#define unsetenv(name,val) ruby_unsetenv(name);
56
char *ruby_strdup(const char *);
58
#define strdup(s) ruby_strdup(s)
60
char *ruby_getcwd(void);
61
#define my_getcwd() ruby_getcwd()
63
double ruby_strtod(const char *, char **);
65
#define strtod(s,e) ruby_strtod(s,e)