Ruby
2.7.2p137(2020-10-01revision5445e0435260b449decf2ac16f9d09bae3cafe72)
|
Go to the documentation of this file.
15 #if defined(__cplusplus)
24 #include RUBY_EXTCONF_H
29 # ifndef HAVE_PROTOTYPES
30 # define HAVE_PROTOTYPES 1
32 # ifndef HAVE_STDARG_PROTOTYPES
33 # define HAVE_STDARG_PROTOTYPES 1
36 #ifdef HAVE_PROTOTYPES
41 #ifdef HAVE_STDARG_PROTOTYPES
42 # define __(args) args
50 #define DECIMAL_SIZE_OF_BITS(n) (((n) * 3010 + 9998) / 9999)
53 #define scan_oct(s,l,e) ((int)ruby_scan_oct((s),(l),(e)))
55 #define scan_hex(s,l,e) ((int)ruby_scan_hex((s),(l),(e)))
58 #ifdef HAVE_GNU_QSORT_R
59 # define ruby_qsort qsort_r
62 int (*)(
const void *,
const void *,
void *),
void *);
70 #define strdup(s) ruby_strdup(s)
76 #define strtod(s,e) ruby_strtod((s),(e))
78 void ruby_each_words(
const char *,
void (*)(
const char*,
int,
void*),
void *);
82 #if defined(__cplusplus)
#define RUBY_SYMBOL_EXPORT_END
unsigned long ruby_scan_oct(const char *, size_t, size_t *)
void ruby_unsetenv(const char *)
unsigned long ruby_scan_hex(const char *, size_t, size_t *)
double ruby_strtod(const char *, char **)
#define RUBY_SYMBOL_EXPORT_BEGIN
char * ruby_strdup(const char *)
void ruby_setenv(const char *, const char *)
void ruby_qsort(void *, const size_t, const size_t, int(*)(const void *, const void *, void *), void *)
void ruby_each_words(const char *, void(*)(const char *, int, void *), void *)