Project

General

Profile

« Previous | Next » 

Revision fe962cde

Added by drbrain (Eric Hodel) about 13 years ago

  • 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