summaryrefslogtreecommitdiff
path: root/lib/ffi/struct.rb
Commit message (Expand)AuthorAgeFilesLines
* Implement Write Barrier and dsize for FFI::StructLayoutJean Boussier2023-03-061-1/+2
* Use shorter const names like in other filesLars Kanis2020-05-301-1/+1
* Reject callback with :string return typeLars Kanis2020-05-241-1/+5
* Improve check to detect if a module has a #find_type method suitable for FFIBenoit Daloze2020-05-151-1/+3
* Remove old references to ruby-1.9Lars Kanis2020-01-311-2/+1
* Warn about Struct layout redefinition onlyLars Kanis2020-01-091-1/+1
* Disallow struct layout changesLars Kanis2020-01-091-1/+1
* Move FFI::StructLayout to its own fileBenoit Daloze2019-02-181-62/+1
* Extract StructByReference to its own fileBenoit Daloze2019-02-181-7/+3
* Move FFI::DataConverter to RubyBenoit Daloze2019-01-071-0/+5
* Drop Ruby 1.8.7 support (#480)Koichi ITO2017-04-131-2/+0
* Support ruby 2.1.8ksss2016-01-211-1/+1
* fix struct specs on 1.8tduehr2015-06-251-1/+1
* Added an example for structures containing pointers to functionsBrandon Fosdick2015-01-261-0/+6
* cleanup minor typosJulian Langschaedel2013-11-021-2/+2
* Switch license to BSD throughout codebase. See #288.Charles Oliver Nutter2013-10-291-20/+3
* Licensing audit. Restore BSD license text from files where it was mistakenly...Wayne Meissner2013-10-271-2/+30
* Fix issue #256 - in Struct::enclosing_module, explicitly check if the enclosi...Wayne Meissner2013-03-251-1/+1
* Merge remote-tracking branch 'upstream/master'Sylvain Daubert2012-12-081-11/+7
|\
| * Enable nested struct fields to be setWayne Meissner2012-04-031-3/+4
| * Avoid assigned but unused variables in lib.Matijs van Zuijlen2011-10-291-1/+1
| * Remove definition of Struct::align that's redefined later.Matijs van Zuijlen2011-10-291-4/+0
* | Add documentation (mainly for Struct and its decendants).Sylvain Daubert2011-10-021-0/+74
|/
* Revert check for layout already defined. Its causing too much pain.Wayne Meissner2010-09-121-1/+1
* Disallow redefining the struct layout after it has been defined once.Wayne Meissner2010-08-191-0/+1
* License update and misc cleanups.Wayne Meissner2010-08-071-53/+35
* Add Struct.managed to create a FromNativeConverter that wraps up a pointer in...Wayne Meissner2010-05-221-0/+18
* Cache the StructByValue and StructByReference instancesWayne Meissner2010-05-221-8/+8
* Add StructByReference for converting pointer-to-struct parameter/return valuesWayne Meissner2010-05-221-3/+14
* Add custom data converters for parameter and return typesWayne Meissner2010-05-221-0/+15
* Allow StructLayout::Field subclasses to be used as the :type param to StructL...Wayne Meissner2010-04-221-4/+12
* Rename StructLayout::InlineStruct to StructLayout::InnerStruct to match with ...Wayne Meissner2010-04-171-1/+1
* Convert StructLayoutBuilder to ruby, and allow packing to take an optional pa...Wayne Meissner2010-04-161-2/+4
* Rename Struct.align to Struct.aligned, so both packed and aligned are named t...Wayne Meissner2010-04-161-1/+3
* Fix issue #32 by implementing Struct.packed to pack structs on a minimum boun...Wayne Meissner2010-04-161-0/+10
* StructLayout::Enum field type should be reading/writing at self.offset from p...Wayne Meissner2010-02-161-2/+2
* Implement Pointer#slice and Buffer#slice, and use it for inner structsWayne Meissner2010-01-271-3/+1
* Move inner struct field code into rubyWayne Meissner2010-01-271-0/+12
* Move the implementation of enum fields for struct into ruby codeWayne Meissner2010-01-271-0/+12
* Add explicit copyrights to each fileWayne Meissner2010-01-241-0/+30
* Implement struct fields that are arrays of structs. Fixes issue #12Wayne Meissner2009-11-241-1/+3
* Sync up struct.rb with JRubyWayne Meissner2009-09-181-96/+115
* Split StructLayout into StructLayout.cWayne Meissner2009-08-111-8/+5
* Convert inline struct fields over to use StructByValue as their typeWayne Meissner2009-08-071-64/+1
* Remove unused Struct::Array classWayne Meissner2009-08-071-30/+0
* Rework struct inline array fields.Wayne Meissner2009-08-071-85/+1
* Rename StructLayoutBuilder#_add_field to add_fieldWayne Meissner2009-08-071-6/+2
* Push more struct layout construction down in to C code.Wayne Meissner2009-08-071-6/+3
* Split up the 3 different types of field (struct, array, default) into three d...Wayne Meissner2009-08-071-4/+30
* Move Callback struct field handling into C code, so callback fields can be bo...Wayne Meissner2009-08-071-19/+1