1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* include/ruby/ruby.h (rb_event_flag_t): Maintain integer precision

for clang error (VALUE aka unsigned long vs unsigned int)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2012-11-30 17:59:06 +00:00
parent 646eeab113
commit 57a83c4c9a
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Dec 1 02:58:51 2012 Eric Hodel <drbrain@segment7.net>
* include/ruby/ruby.h (rb_event_flag_t): Maintain integer precision
for clang error (VALUE aka unsigned long vs unsigned int)
Sat Dec 1 02:53:18 2012 Eric Hodel <drbrain@segment7.net>
* test/rubygems/test_gem_dependency_installer.rb: Use Gem.read_binary

View file

@ -1584,7 +1584,7 @@ int ruby_native_thread_p(void);
#define RUBY_EVENT_SPECIFIED_LINE 0x8000
#define RUBY_EVENT_TRACEPOINT_ALL 0xFFFF
typedef unsigned int rb_event_flag_t;
typedef unsigned long rb_event_flag_t;
typedef void (*rb_event_hook_func_t)(rb_event_flag_t evflag, VALUE data, VALUE self, ID mid, VALUE klass);
#define RB_EVENT_HOOKS_HAVE_CALLBACK_DATA 1