1
/**********************************************************************
6
$Date: 2007-08-25 12:29:39 +0900 (土, 25 8月 2007) $
7
created at: Thu Mar 9 11:55:53 JST 1995
9
Copyright (C) 1993-2007 Yukihiro Matsumoto
11
**********************************************************************/
16
#if defined(__cplusplus)
19
} /* satisfy cc-mode */
25
# ifndef HAVE_PROTOTYPES
26
# define HAVE_PROTOTYPES 1
28
# ifndef HAVE_STDARG_PROTOTYPES
29
# define HAVE_STDARG_PROTOTYPES 1
32
#ifdef HAVE_PROTOTYPES
37
#ifdef HAVE_STDARG_PROTOTYPES
38
# define __(args) args
44
#define scan_oct ruby_scan_oct
45
unsigned long ruby_scan_oct(const char *, int, int *);
46
#define scan_hex ruby_scan_hex
47
unsigned long ruby_scan_hex(const char *, int, int *);
49
#if defined(MSDOS) || defined(__CYGWIN32__) || defined(_WIN32)
50
void ruby_add_suffix(VALUE str, const char *suffix);
53
void ruby_qsort(void *, const int, const int,
54
int (*)(const void *, const void *, void *), void *);
56
void ruby_setenv(const char *, const char *);
57
void ruby_unsetenv(const char *);
60
#define setenv(name,val) ruby_setenv(name,val)
61
#define unsetenv(name,val) ruby_unsetenv(name);
63
char *ruby_strdup(const char *);
65
#define strdup(s) ruby_strdup(s)
67
char *ruby_getcwd(void);
68
#define my_getcwd() ruby_getcwd()
70
double ruby_strtod(const char *, char **);
72
#define strtod(s,e) ruby_strtod(s,e)
74
#if defined(__cplusplus)
76
{ /* satisfy cc-mode */
81
#endif /* RUBY_UTIL_H */