1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/dl
drbrain fe962cde15 * ext/dl/lib/dl/struct.rb (DL::CStructEntity#set_ctypes): Refactored
#set_ctypes using newer ruby features to simplify its implementation.
* test/dl/test_c_struct_entry.rb (class DL):  Test to verify
  refactoring.

Reviewed by Aaron Patterson.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-05-31 22:07:09 +00:00
..
callback * ext/dl/callback/mkcallback.rb (gencallback): suppress unused 2012-01-14 13:24:12 +00:00
lib * ext/dl/lib/dl/struct.rb (DL::CStructEntity#set_ctypes): Refactored 2012-05-31 22:07:09 +00:00
win32
cfunc.c * ext/dl/cfunc.c (rb_dlcfunc_call): should convert a Bignum value to 2012-04-27 03:36:33 +00:00
cptr.c * ext/dl/cptr.c (rb_dlptr_new2): remove unused variable. 2012-01-30 21:47:35 +00:00
depend
dl.c * ext/dl: Added documentation. Patch by Vincent Batts. 2012-05-30 22:48:42 +00:00
dl.h * ext/dl/dl.h (ALIGN_OF): use offsetof(). 2012-02-09 16:30:43 +00:00
extconf.rb * ext/dl/dl.c (Init_dl): support intrinsic types, size_t, ptrdiff_t 2012-02-25 05:47:16 +00:00
handle.c * encoding.c (rb_enc_codepoint_len): Use UNREACHABLE to avoid "control 2012-04-13 23:45:37 +00:00