mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* include/ruby/ruby.h: renamed include guard.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
17fe6a652f
commit
7981720812
2 changed files with 10 additions and 8 deletions
|
@ -1,18 +1,18 @@
|
||||||
/**********************************************************************
|
/**********************************************************************
|
||||||
|
|
||||||
ruby.h -
|
ruby/ruby.h -
|
||||||
|
|
||||||
$Author$
|
$Author$
|
||||||
created at: Thu Jun 10 14:26:32 JST 1993
|
created at: Thu Jun 10 14:26:32 JST 1993
|
||||||
|
|
||||||
Copyright (C) 1993-2007 Yukihiro Matsumoto
|
Copyright (C) 1993-2008 Yukihiro Matsumoto
|
||||||
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
|
Copyright (C) 2000 Network Applied Communication Laboratory, Inc.
|
||||||
Copyright (C) 2000 Information-technology Promotion Agency, Japan
|
Copyright (C) 2000 Information-technology Promotion Agency, Japan
|
||||||
|
|
||||||
**********************************************************************/
|
**********************************************************************/
|
||||||
|
|
||||||
#ifndef RUBY_H
|
#ifndef RUBY_RUBY_H
|
||||||
#define RUBY_H 1
|
#define RUBY_RUBY_H 1
|
||||||
|
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@ -21,10 +21,12 @@ extern "C" {
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef RUBY_LIB
|
||||||
#include "ruby/config.h"
|
#include "ruby/config.h"
|
||||||
#ifdef RUBY_EXTCONF_H
|
#ifdef RUBY_EXTCONF_H
|
||||||
#include RUBY_EXTCONF_H
|
#include RUBY_EXTCONF_H
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#define NORETURN_STYLE_NEW 1
|
#define NORETURN_STYLE_NEW 1
|
||||||
#ifndef NORETURN
|
#ifndef NORETURN
|
||||||
|
@ -1066,4 +1068,4 @@ unsigned long ruby_strtoul(const char *str, char **endptr, int base);
|
||||||
#endif
|
#endif
|
||||||
} /* extern "C" { */
|
} /* extern "C" { */
|
||||||
#endif
|
#endif
|
||||||
#endif /* RUBY_H */
|
#endif /* RUBY_RUBY_H */
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#define RUBY_VERSION "1.9.0"
|
#define RUBY_VERSION "1.9.0"
|
||||||
#define RUBY_RELEASE_DATE "2008-05-30"
|
#define RUBY_RELEASE_DATE "2008-05-31"
|
||||||
#define RUBY_VERSION_CODE 190
|
#define RUBY_VERSION_CODE 190
|
||||||
#define RUBY_RELEASE_CODE 20080530
|
#define RUBY_RELEASE_CODE 20080531
|
||||||
#define RUBY_PATCHLEVEL 0
|
#define RUBY_PATCHLEVEL 0
|
||||||
|
|
||||||
#define RUBY_VERSION_MAJOR 1
|
#define RUBY_VERSION_MAJOR 1
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
#define RUBY_VERSION_TEENY 0
|
#define RUBY_VERSION_TEENY 0
|
||||||
#define RUBY_RELEASE_YEAR 2008
|
#define RUBY_RELEASE_YEAR 2008
|
||||||
#define RUBY_RELEASE_MONTH 5
|
#define RUBY_RELEASE_MONTH 5
|
||||||
#define RUBY_RELEASE_DAY 30
|
#define RUBY_RELEASE_DAY 31
|
||||||
|
|
||||||
#ifdef RUBY_EXTERN
|
#ifdef RUBY_EXTERN
|
||||||
RUBY_EXTERN const char ruby_version[];
|
RUBY_EXTERN const char ruby_version[];
|
||||||
|
|
Loading…
Add table
Reference in a new issue