summaryrefslogtreecommitdiff
path: root/ruby.h
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 18:37:03 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-02-07 18:37:03 +0000
commit0644ac3f8e2be9fe9025fa9c5b0768f15e31072b (patch)
tree2411948a3e5b4bb3d6f28f91bd2ec36ee0c83366 /ruby.h
parent59483da886b65acddfc6675dbae15d31c74036cc (diff)
* intern.h (HAVE_RB_DEFINE_ALLOC_FUNC): New boolean macro to make
it easier to write extensions that work with both ~1.6 and 1.8~. * intern.h (RB_CVAR_SET_4ARGS): Ditto. * ruby.h (NORETURN_STYLE_NEW): Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3458 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.h')
-rw-r--r--ruby.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ruby.h b/ruby.h
index 6988eb0296..aa61263b4b 100644
--- a/ruby.h
+++ b/ruby.h
@@ -48,6 +48,7 @@ extern "C" {
#define ISXDIGIT(c) (ISASCII(c) && isxdigit((unsigned char)(c)))
#endif
+#define NORETURN_STYLE_NEW
#ifndef NORETURN
# define NORETURN(x) x
#endif