summaryrefslogtreecommitdiff
path: root/ext/ffi_c/Struct.c
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'ractor'Lars Kanis2023-05-081-2/+6
|\
| * Add support for using FFI in RactorLars Kanis2023-04-181-2/+6
* | Remove no longer used StructField.get and .putLars Kanis2023-05-041-8/+2
* | Remove use of RARRAY_PTRPeter Zhu2023-04-181-1/+1
|/
* Make FFI classes GC.compact friendlyLars Kanis2023-04-141-5/+32
* Merge branch 'struct-layout-write-barrier' of https://github.com/casperisfine...Lars Kanis2023-03-061-1/+1
|\
| * Implement Write Barrier and dsize for FFI::StructLayoutJean Boussier2023-03-061-1/+1
* | Implement Write Barrier and dsize for FFI::StructJean Boussier2023-03-061-29/+50
|/
* Merge branch 'typed-data-struct' of https://github.com/casperisfine/ffi into ...Lars Kanis2023-03-031-17/+29
|\
| * Convert FFI::Struct to TypedDataJean Boussier2023-03-021-18/+30
* | Merge branch 'casperisfine-typed-data-abstract-memory'Lars Kanis2023-03-031-4/+6
|\ \
| * | Convert FFI::AbstractMemory and descendants to TypedDataJean Boussier2023-03-021-4/+6
| |/
* | Merge pull request #997 from casperisfine/typed-data-inline-arrayLars Kanis2023-03-031-11/+22
|\ \
| * | Convert FFI::Struct::InlineArray to TypedDataJean Boussier2023-03-021-11/+22
| |/
* | Convert FFI::Type and descendants to TypedDataJean Boussier2023-03-021-8/+8
|/
* Remove win32/stdint.h and stdbool.hLars Kanis2020-09-231-5/+2
* Ensure the raised message is zero-terminatedLars Kanis2020-07-171-1/+1
* Replace st_table with simple cache and fix segfault after GC.compactLars Kanis2020-02-011-22/+18
* Remove old references to ruby-1.9Lars Kanis2020-01-311-30/+30
* update/correct benchmarkstduehr2014-06-241-0/+1
* Fix bad search and replace in C code.1.9.2Charles Oliver Nutter2013-10-291-31/+1
* Switch license to BSD throughout codebase. See #288.Charles Oliver Nutter2013-10-291-12/+22
* Licensing audit. Restore BSD license text from files where it was mistakenly...Wayne Meissner2013-10-271-1/+30
* Extract all win32 MSC stdbool compat typedefs into win32/stdbool.hWayne Meissner2013-04-221-9/+7
* Remove rbffi_gc_mark_locations()Wayne Meissner2013-01-081-1/+1
* Struct classes store @layout in a class ivar, not a cvar.Wayne Meissner2012-12-291-2/+2
* Add rbffi_gc_mark_locations() that behaves like rb_gc_mark_locations(), for V...Wayne Meissner2012-12-291-1/+1
* Merge remote-tracking branch 'upstream/master'Sylvain Daubert2012-12-081-11/+13
|\
| * Allow zero-length arrays as the last element in a FFI::StructWayne Meissner2012-11-101-1/+1
| * Convert C++ style comments to C /* */ styleWayne Meissner2012-08-041-5/+5
| * Remove unused varWayne Meissner2012-07-211-1/+0
| * Use rbffi_MemoryPointer_NewInstance directly in Struct#initialize_copyWayne Meissner2012-03-021-4/+1
| * initial releaseunknown2012-01-091-0/+6
* | Add documentation (mainly for Struct and its decendants).Sylvain Daubert2011-10-021-6/+123
|/
* Fix warningsWayne Meissner2011-08-011-4/+4
* Change FFI::Struct::InlineArray#size to return the number of elements, not th...Wayne Meissner2011-05-071-1/+1
* Implement Struct#initialize_copyWayne Meissner2011-03-271-0/+42
* Fix memory leak in struct_free(). Pointed out by tmm1.1.0.7Wayne Meissner2011-03-161-0/+1
* Store references to pointer fields in FFI::StructWayne Meissner2011-02-201-1/+36
* Sync up copyright headersWayne Meissner2011-01-091-19/+11
* Add newlines to the end of every fileWayne Meissner2010-12-301-0/+1
* Fix up struct fields that are arrays of mapped types (e.g. Enums)Wayne Meissner2010-12-081-24/+24
* Add Struct#order and Pointer#order to swap endian-nessWayne Meissner2010-08-201-0/+20
* Use a st_table for struct field lookup instead of rb_hash methods to gain abo...Wayne Meissner2010-08-201-0/+4
* Add Struct#null?Wayne Meissner2010-05-091-0/+12
* Convert StructLayoutBuilder to ruby, and allow packing to take an optional pa...Wayne Meissner2010-04-161-337/+0
* Fix issue #32 by implementing Struct.packed to pack structs on a minimum boun...Wayne Meissner2010-04-161-4/+18
* Add test and code to support defining initialize() in subclasses without call...Wayne Meissner2010-02-261-13/+88
* Use Pointer#slice instead of Pointer#+ where possibleWayne Meissner2010-01-271-42/+21
* Use Pointer#slice in inline_array_each()Wayne Meissner2010-01-271-1/+3