35# define ISASCII rb_isascii
36# define ISPRINT rb_isprint
37# define ISGRAPH rb_isgraph
38# define ISSPACE rb_isspace
39# define ISUPPER rb_isupper
40# define ISLOWER rb_islower
41# define ISALNUM rb_isalnum
42# define ISALPHA rb_isalpha
43# define ISDIGIT rb_isdigit
44# define ISXDIGIT rb_isxdigit
45# define ISBLANK rb_isblank
46# define ISCNTRL rb_iscntrl
47# define ISPUNCT rb_ispunct
50#define TOUPPER rb_toupper
51#define TOLOWER rb_tolower
52#define STRCASECMP st_locale_insensitive_strcasecmp
53#define STRNCASECMP st_locale_insensitive_strncasecmp
54#define STRTOUL ruby_strtoul
74 return '\0' <= c && c <=
'\x7f';
83 return 'A' <= c && c <=
'Z';
92 return 'a' <= c && c <=
'z';
101 return rb_isupper(c) || rb_islower(c);
110 return '0' <= c && c <=
'9';
119 return rb_isalpha(c) || rb_isdigit(c);
128 return rb_isdigit(c) || (
'A' <= c && c <=
'F') || (
'a' <= c && c <=
'f');
137 return c ==
' ' || c ==
'\t';
146 return c ==
' ' || (
'\t' <= c && c <=
'\r');
155 return (
'\0' <= c && c <
' ') || c ==
'\x7f';
164 return ' ' <= c && c <=
'\x7e';
173 return !rb_isalnum(c);
182 return '!' <= c && c <=
'\x7e';
191 return rb_isupper(c) ? (c|0x20) : c;
200 return rb_islower(c) ? (c&0x5f) : c;
Defines RBIMPL_ATTR_ARTIFICIAL.
#define RBIMPL_ATTR_ARTIFICIAL()
Wraps (or simulates) __attribute__((artificial))
Defines RBIMPL_ATTR_CONST.
#define RBIMPL_ATTR_CONST()
Wraps (or simulates) __attribute__((const))
#define RBIMPL_ATTR_CONSTEXPR(_)
Wraps (or simulates) C++11 constexpr.
Our own, locale independent, character handling routines.
unsigned long ruby_strtoul(const char *str, char **endptr, int base)
Tewaking visibility of C variables/functions.
#define RBIMPL_SYMBOL_EXPORT_END()
Counterpart of RBIMPL_SYMBOL_EXPORT_BEGIN.
#define RBIMPL_SYMBOL_EXPORT_BEGIN()
Shortcut macro equivalent to RUBY_SYMBOL_EXPORT_BEGIN extern "C" {.
char str[HTML_ESCAPE_MAX_LEN+1]
Thin wrapper to ruby/config.h.
typedef int(ZCALLBACK *close_file_func) OF((voidpf opaque
#define st_locale_insensitive_strncasecmp
#define st_locale_insensitive_strcasecmp