mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/ruby.h (st_strcasecmp): declared for STRCASECMP.
(st_strncasecmp): declared for STRNCASECMP. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a0350e5964
commit
b661bfe319
2 changed files with 14 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu Jan 3 21:56:07 2008 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* include/ruby/ruby.h (st_strcasecmp): declared for STRCASECMP.
|
||||
(st_strncasecmp): declared for STRNCASECMP.
|
||||
|
||||
Thu Jan 3 20:24:48 2008 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* eval_jump.c (rb_f_catch): Resotre cfp if catched thrown object.
|
||||
|
|
|
@ -961,13 +961,6 @@ void rb_add_event_hook(rb_event_hook_func_t func, rb_event_flag_t events,
|
|||
VALUE data);
|
||||
int rb_remove_event_hook(rb_event_hook_func_t func);
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#if 0
|
||||
{ /* satisfy cc-mode */
|
||||
#endif
|
||||
} /* extern "C" { */
|
||||
#endif
|
||||
|
||||
/* locale insensitive functions */
|
||||
|
||||
#define rb_isascii(c) ((unsigned long)(c) < 128)
|
||||
|
@ -1000,10 +993,19 @@ int rb_toupper(int c);
|
|||
#endif
|
||||
#define TOUPPER(c) rb_toupper((unsigned char)c)
|
||||
#define TOLOWER(c) rb_tolower((unsigned char)c)
|
||||
|
||||
int st_strcasecmp(const char *s1, const char *s2);
|
||||
int st_strncasecmp(const char *s1, const char *s2, size_t n);
|
||||
#define STRCASECMP(s1, s2) (st_strcasecmp(s1, s2))
|
||||
#define STRNCASECMP(s1, s2, n) (st_strncasecmp(s1, s2, n))
|
||||
|
||||
unsigned long ruby_strtoul(const char *str, char **endptr, int base);
|
||||
#define STRTOUL(str, endptr, base) (ruby_strtoul(str, endptr, base))
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#if 0
|
||||
{ /* satisfy cc-mode */
|
||||
#endif
|
||||
} /* extern "C" { */
|
||||
#endif
|
||||
#endif /* RUBY_H */
|
||||
|
|
Loading…
Reference in a new issue