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
41#ifdef HAVE_STDARG_PROTOTYPES
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))
78void ruby_each_words(
const char *,
void (*)(
const char*,
int,
void*),
void *);
82#if defined(__cplusplus)
unsigned long ruby_scan_oct(const char *, size_t, size_t *)
char * ruby_strdup(const char *)
unsigned long ruby_scan_hex(const char *, size_t, size_t *)
void ruby_setenv(const char *, const char *)
double ruby_strtod(const char *, char **)
void ruby_unsetenv(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 *)