summaryrefslogtreecommitdiff
path: root/spec/ffi/struct_spec.rb
Commit message (Expand)AuthorAgeFilesLines
* Skip struct specs on Ruby-3.0Lars Kanis2023-04-181-1/+5
* Add support for using FFI in RactorLars Kanis2023-04-181-5/+45
* Merge branch 'struct-layout-write-barrier' of https://github.com/casperisfine...Lars Kanis2023-03-061-1/+33
|\
| * Implement Write Barrier and dsize for FFI::StructLayoutJean Boussier2023-03-061-0/+34
* | Implement Write Barrier and dsize for FFI::StructJean Boussier2023-03-061-0/+13
|/
* Skip Pointer#order specs on TruffleRuby until implementedBenoit Daloze2020-10-301-1/+1
* write_bytes instead of write_stringChris Seaton2020-10-281-1/+1
* Specify Pointer#order and Struct#orderChris Seaton2020-10-101-0/+54
* uncomment specs on jrubypavel2020-09-221-6/+2
* jruby fixespavel2020-08-301-2/+6
* Fix and extend specs for :pointer and :string argument comparisonLars Kanis2020-07-181-1/+0
* Remove code required for ruby prior 2.3Lars Kanis2020-06-011-14/+11
* Improve check to detect if a module has a #find_type method suitable for FFIBenoit Daloze2020-05-151-0/+17
* Adjust test vectors to be a bit more meaningfulLars Kanis2020-04-081-16/+16
* Add FFI specs for writing to array and char array fieldsBenoit Daloze2020-04-021-0/+56
* Move condition on the describe block instead of using RSpec if:Benoit Daloze2020-03-291-3/+3
* Use 1.9 Hash syntax consistently for RSpec if:Benoit Daloze2020-03-291-1/+1
* Add spec for Struct#clearBenoit Daloze2020-03-281-0/+13
* Add specs for coercion for FFI::Struct and FFI::AbstractMemoryBenoit Daloze2020-03-281-0/+29
* Skip the few specs which are not yet supported on TruffleRubyBenoit Daloze2020-03-281-2/+3
* Warn about Struct layout redefinition onlyLars Kanis2020-01-091-7/+18
* Disallow struct layout changesLars Kanis2020-01-091-372/+396
* Specify error class for several raise_error callsLars Kanis2018-06-021-3/+3
* Drop Ruby 1.8.7 support (#480)Koichi ITO2017-04-131-4/+0
* Support ruby 2.1.8ksss2016-01-211-4/+4
* fix struct specs on 1.8tduehr2015-06-251-0/+4
* enable and fix warnings in specstduehr2015-05-211-1/+1
* sync specs w/ JRuby and move to rspectduehr2014-10-021-129/+203
* fix tests for netbsdtduehr2014-07-011-2/+12
* remove require_relativetduehr2014-06-051-1/+1
* merge specs w/ JRuby and correct syntax to use rspectduehr2014-06-051-39/+89
* Change licensing of the specs to the same license as RubyspecDirkjan Bussink2012-11-251-12/+1
* Use matchers compatible with MSpecDirkjan Bussink2012-11-251-92/+92
* Use values that fit into 32bits for variable-length array struct fieldsWayne Meissner2012-11-201-8/+8
* Add spec for zero-length arrays in structsWayne Meissner2012-11-111-0/+40
* Enable nested struct fields to be setWayne Meissner2012-04-031-0/+9
* Add some more struct-by-value testsWayne Meissner2012-02-251-1/+29
* Add failing spec to for FFI::Struct :bool memberKim Burgestrand2011-11-011-1/+2
* Avoid method redefined warnings.Matijs van Zuijlen2011-10-291-2/+2
* Avoid "possibly useless use of == in void context" warnings.Matijs van Zuijlen2011-10-291-81/+81
* Avoid assigned but unused variables in spec.Matijs van Zuijlen2011-10-291-1/+0
* Fix issue #114 (Structs no longer support bools).Wayne Meissner2011-05-291-0/+10
* Change FFI::Struct::InlineArray#size to return the number of elements, not th...Wayne Meissner2011-05-071-2/+2
* Sync up copyright headersWayne Meissner2011-01-091-0/+16
* Fix up struct fields that are arrays of mapped types (e.g. Enums)Wayne Meissner2010-12-081-4/+22
* Update specs for new Sruct-by-reference parameter/return typesWayne Meissner2010-05-221-5/+5
* Add Struct#null?Wayne Meissner2010-05-091-0/+14
* Add test and code to support defining initialize() in subclasses without call...Wayne Meissner2010-02-261-0/+18
* Add a field before the enum field to test that non-zero offset enum fields workWayne Meissner2010-02-161-2/+2
* Made the :enum field-type Struct spec more robust by checking the underlying ...postmodern2009-11-281-3/+5