summaryrefslogtreecommitdiff
path: root/vm_core.h
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 13:30:27 (GMT)
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-01-09 13:30:27 (GMT)
commitdf76e35333bf1a730e069e03f66043c0d4d2b684 (patch)
treeb76513e52526fc087352fb6d784bc4cc1d989833 /vm_core.h
parent0ea778d8126245d80b38b7238467ff7e2aba051a (diff)
rb_num_t happen to be unsigned; introduce signed variant
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_core.h')
-rw-r--r--vm_core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/vm_core.h b/vm_core.h
index 1be20c1..7801ce1 100644
--- a/vm_core.h
+++ b/vm_core.h
@@ -136,6 +136,7 @@
#endif /* OPT_CALL_THREADED_CODE */
typedef unsigned long rb_num_t;
+typedef signed long rb_snum_t;
enum ruby_tag_type {
RUBY_TAG_NONE = 0x0,