mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
990224
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
51fa86ece2
commit
3976feed73
56 changed files with 4037 additions and 1071 deletions
10
ruby.h
10
ruby.h
|
@ -39,10 +39,11 @@ extern "C" {
|
|||
#include <stdio.h>
|
||||
|
||||
/* need to include <ctype.h> to use these macros */
|
||||
#undef ISPRINT
|
||||
#define ISPRINT(c) isprint((unsigned char)(c))
|
||||
#define ISSPACE(c) isspace((unsigned char)(c))
|
||||
#define ISUPPER(c) isupper((unsigned char)(c))
|
||||
#define ISLOWER(c) islower((unsigned char)(c))
|
||||
#define ISPRINT(c) isprint((unsigned char)(c))
|
||||
#define ISALNUM(c) isalnum((unsigned char)(c))
|
||||
#define ISALPHA(c) isalpha((unsigned char)(c))
|
||||
#define ISDIGIT(c) isdigit((unsigned char)(c))
|
||||
|
@ -480,7 +481,9 @@ EXTERN VALUE rb_cStruct;
|
|||
|
||||
EXTERN VALUE rb_eException;
|
||||
EXTERN VALUE rb_eStandardError;
|
||||
EXTERN VALUE rb_eSystemExit, rb_eInterrupt, rb_eFatal;
|
||||
EXTERN VALUE rb_eSystemExit;
|
||||
EXTERN VALUE rb_eInterrupt;
|
||||
EXTERN VALUE rb_eFatal;
|
||||
EXTERN VALUE rb_eArgError;
|
||||
EXTERN VALUE rb_eEOFError;
|
||||
EXTERN VALUE rb_eIndexError;
|
||||
|
@ -492,8 +495,9 @@ EXTERN VALUE rb_eSecurityError;
|
|||
EXTERN VALUE rb_eSyntaxError;
|
||||
EXTERN VALUE rb_eSystemCallError;
|
||||
EXTERN VALUE rb_eTypeError;
|
||||
EXTERN VALUE rb_eZeroDiv;
|
||||
EXTERN VALUE rb_eZeroDivError;
|
||||
EXTERN VALUE rb_eNotImpError;
|
||||
EXTERN VALUE rb_eFloatDomainError;
|
||||
|
||||
#if defined(__GNUC__) && __GNUC__ >= 2 && !defined(RUBY_NO_INLINE)
|
||||
extern __inline__ VALUE rb_class_of _((VALUE));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue