summaryrefslogtreecommitdiff
path: root/spec
Commit message (Expand)AuthorAgeFilesLines
* Fix specs for Ruby 2.x on darwin-arm64Felix Bùˆnemann2020-12-151-1/+5
* Merge pull request #852 from larskanis/move-size-limitLars Kanis2020-12-141-1/+1
|\
| * Move Pointer#size_limit? to AbstractMemory and from C to rubyLars Kanis2020-12-131-1/+1
* | Fix platform specs on Windows-x64Lars Kanis2020-12-141-1/+1
|/
* Merge pull request #806 from eregon/fix-write_stringLars Kanis2020-12-111-0/+86
|\
| * Get the caller more efficiently and fix typoBenoit Daloze2020-12-051-2/+2
| * Allow write_string to a memory region without final 0-byteLars Kanis2020-11-291-11/+69
| * Always write a final null termination in write_stringLars Kanis2020-09-231-9/+9
| * Fix FFI::Pointer#write_string to terminate with a NUL byte if not given a lengthBenoit Daloze2020-07-111-2/+4
| * Add specs for FFI::Pointer#write_string and #put_stringBenoit Daloze2020-07-111-0/+26
* | Unskip passing specs on TruffleRubyBenoit Daloze2020-12-082-3/+0
* | Added size_limit? methodAndrew Kane2020-11-241-0/+10
* | Skip Pointer#order specs on TruffleRuby until implementedBenoit Daloze2020-10-302-2/+2
* | write_bytes instead of write_stringChris Seaton2020-10-281-1/+1
* | Specify Pointer#order and Struct#orderChris Seaton2020-10-103-0/+114
* | Specify FFI::Platform::BYTE_ORDER etcChris Seaton2020-10-101-0/+23
* | uncomment specs on jrubypavel2020-09-221-6/+2
* | Correct callback name in specLars Kanis2020-08-311-1/+3
* | Fix GC issue, when Proc is used on more than 2 callback signaturesLars Kanis2020-08-311-0/+36
* | jruby fixespavel2020-08-303-4/+8
* | Do NULL pointer check only when array length > 0Lars Kanis2020-08-031-0/+5
* | Fix and extend specs for :pointer and :string argument comparisonLars Kanis2020-07-183-9/+10
* | Merge branch 'master' of github.com:ffi/ffiLars Kanis2020-07-181-2/+1
|\ \
| * | Improve check for whether fork is availableBenoit Daloze2020-07-171-2/+1
* | | Remove unused variable from fork_specLars Kanis2020-07-181-1/+0
* | | Move external process execution to spec_helpersLars Kanis2020-07-182-13/+20
|/ /
* | Add specs specific to Centos callback bug #621Lars Kanis2020-07-171-0/+41
* | Add an explicit spec for passsing a String to :pointer parameterLars Kanis2020-07-171-0/+7
* | Use :string parameter type for passing zero terminated string to CLars Kanis2020-07-171-1/+1
|/
* Fix segfault on non-array argument to #write_array_of_*Lars Kanis2020-07-101-1/+5
* Remove unused code and use better file nameLars Kanis2020-06-211-2/+1
* Fix possible UTF-8 error in ffi_lib rescue blockLars Kanis2020-06-211-0/+26
* Merge pull request #790 from larskanis/msvcrt-on-mingw#Lars Kanis2020-06-091-0/+14
|\
| * Add a spec regarding issue #788Lars Kanis2020-06-091-0/+14
* | Remove unused strcat() mapping in specsLars Kanis2020-06-051-7/+0
|/
* Remove code required for ruby prior 2.3Lars Kanis2020-06-013-22/+16
* Reject callback with :string return typeLars Kanis2020-05-242-0/+17
* Enable gettimeofday based spec on WindowsLars Kanis2020-05-231-20/+22
* Improve check to detect if a module has a #find_type method suitable for FFIBenoit Daloze2020-05-151-0/+17
* Merge https://github.com/ffi/ffiLars Kanis2020-04-172-1/+22
|\
| * Merge pull request #771 from larskanis/long-double-callbackLars Kanis2020-04-172-1/+22
| |\
| | * Add long double as callback return valueLars Kanis2020-04-162-1/+22
* | | Improve strptr testsLars Kanis2020-04-171-6/+8
|/ /
* | Add types_conf generation to CILars Kanis2020-04-172-4/+6
|/
* 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-293-8/+8
* Use 1.9 Hash syntax consistently for RSpec if:Benoit Daloze2020-03-293-3/+3
* RUBY_ENGINE is defined since Ruby 1.9, no need to check if defined?()Benoit Daloze2020-03-292-3/+3
* Disable automatic git submodule initialization on Travis-CILars Kanis2020-03-282-2/+2