1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/fiddle
Aaron Patterson 48a6498406 [ruby/fiddle] Add constants for unsigned values (https://github.com/ruby/fiddle/pull/111)
This commit adds constants for unsigned values. Currently we can use `-`
to mean "unsigned", but I think having a specific name makes Fiddle more
user friendly. This commit continues to support `-`, but introduces
negative constants with "unsigned" names

I think this will help to eliminate [this
code](3a56bf0bcc/lib/mjit/c_type.rb (L31-L38))

https://github.com/ruby/fiddle/commit/2bef0f1082

Co-authored-by: Sutou Kouhei <kou@clear-code.com>
2022-10-07 15:18:49 +09:00
..
lib [ruby/fiddle] Add constants for unsigned values (https://github.com/ruby/fiddle/pull/111) 2022-10-07 15:18:49 +09:00
win32
closure.c [ruby/fiddle] Add constants for unsigned values (https://github.com/ruby/fiddle/pull/111) 2022-10-07 15:18:49 +09:00
closure.h
conversions.c [ruby/fiddle] Add constants for unsigned values (https://github.com/ruby/fiddle/pull/111) 2022-10-07 15:18:49 +09:00
conversions.h [ruby/fiddle] Remove wrong comment 2021-05-18 12:48:40 +09:00
depend [Feature #18249] Update dependencies 2022-02-22 09:55:21 -05:00
extconf.rb Do not need to print to stderr 2022-01-26 10:05:10 +09:00
fiddle.c [ruby/fiddle] Add constants for unsigned values (https://github.com/ruby/fiddle/pull/111) 2022-10-07 15:18:49 +09:00
fiddle.gemspec [ruby/fiddle] Use test-unit gem (https://github.com/ruby/fiddle/pull/69) 2021-09-05 17:43:48 +09:00
fiddle.h [ruby/fiddle] Add constants for unsigned values (https://github.com/ruby/fiddle/pull/111) 2022-10-07 15:18:49 +09:00
function.c [ruby/fiddle] windows: use GetLastError() for win32_last_error 2021-07-13 19:37:45 +09:00
function.h
handle.c [ruby/fiddle] Add Fiddle::Handle#file_name (https://github.com/ruby/fiddle/pull/88) 2021-07-14 18:56:00 +09:00
memory_view.c [ruby/fiddle] Check HAVE_RUBY_MEMORY_VIEW_H rather than API version (https://github.com/ruby/fiddle/pull/86) 2021-07-14 18:55:59 +09:00
pinned.c
pointer.c [ruby/fiddle] Check HAVE_RUBY_MEMORY_VIEW_H rather than API version (https://github.com/ruby/fiddle/pull/86) 2021-07-14 18:55:59 +09:00