summaryrefslogtreecommitdiff
path: root/ext/ffi_c/Pointer.c
Commit message (Expand)AuthorAgeFilesLines
* Use type checking by TypedData and remove duplocated check by rb_obj_is_kind_ofLars Kanis2023-03-061-1/+1
* Implement Write Barrier and dsize for FFI::PointerJean Boussier2023-03-061-6/+20
* Convert FFI::AbstractMemory and descendants to TypedDataJean Boussier2023-03-021-22/+35
* Fix Pointer#initialize using NUM2LL instead of NUM2ULLFrederick Cheung2022-06-291-1/+1
* Move Pointer#size_limit? to AbstractMemory and from C to rubyLars Kanis2020-12-131-17/+0
* Added size_limit? methodAndrew Kane2020-11-241-0/+17
* Merge pull request #830 from chrisseaton/order-specsLars Kanis2020-10-291-1/+3
|\
| * Raise an error on an unknown pointer orderChris Seaton2020-10-101-0/+2
| * Clarify that Pointer#order returns a new pointer if changing the orderChris Seaton2020-10-101-1/+1
* | Remove win32/stdint.h and stdbool.hLars Kanis2020-09-231-7/+2
|/
* Fix wrong statement about Pointer#autoreleaseLars Kanis2020-07-111-1/+1
* Pointer: Better docs for #autoreleaseLars Kanis2020-07-111-17/+19
* On MSCV, an unsigned long is 4 bytes (32 bits), not 8 bytes. Thus the alignme...Charlie Savage2020-05-181-1/+1
* Fix typos in documentationPete Johns2015-12-231-3/+3
* Fix bad search and replace in C code.1.9.2Charles Oliver Nutter2013-10-291-1/+0
* Switch license to BSD throughout codebase. See #288.Charles Oliver Nutter2013-10-291-12/+22
* Extract all win32 MSC stdbool compat typedefs into win32/stdbool.hWayne Meissner2013-04-221-7/+4
* Add Pointer#type_size and make AutoPointer match the pointer it wrapsWayne Meissner2013-03-281-0/+11
* * ext/ffi_c/Pointer.c: Rename rbffi_AbstractMemory to ffi_AbstractMemory.Sylvain Daubert2012-12-081-2/+2
* Merge remote-tracking branch 'upstream/master'Sylvain Daubert2012-12-081-2/+19
|\
| * Convert C++ style comments to C /* */ styleWayne Meissner2012-08-041-1/+1
| * Rename endian.h to rbffi_endian.h to avoid conflict with system <endian.h>Wayne Meissner2012-07-211-1/+1
| * Add warning when Pointer#free is called on an opaque pointerWayne Meissner2012-03-021-0/+5
| * Untabify & formatting fixupsWayne Meissner2012-02-291-2/+3
| * Allow comparison of FFI::Pointer with nilemboss2012-02-291-0/+3
| * initial releaseunknown2012-01-091-0/+8
* | Add documentation (mainly for Struct and its decendants).Sylvain Daubert2011-10-021-3/+4
|/
* Add documentation for ArrayType, Buffer, DynamicLibrary, Function, Enum, EnumsSylvain Daubert2011-09-251-1/+4
* Add documentation for DataConverter, LastError, AutoPointer, FFI::IO, Library...Sylvain Daubert2011-09-211-4/+8
* Documentation for FFI::Pointer, FFI::Type, FFI::Type::Builtin,Sylvain Daubert2011-09-181-0/+91
* Fix issue #109Wayne Meissner2011-05-151-1/+1
* Fixup subclasses of PointerWayne Meissner2011-03-261-0/+24
* Implement Buffer#initialize_copy and Pointer#initialize_copyWayne Meissner2011-03-261-11/+78
* Add newlines to the end of every fileWayne Meissner2010-12-301-0/+1
* Fix a bunch of warnings from solaris. From https://github.com/mmayerWayne Meissner2010-12-301-0/+1
* Convert rb_sprintf() to snprintf(3) into a buffer plus rb_str_new2()Wayne Meissner2010-12-191-3/+9
* Add Struct#order and Pointer#order to swap endian-nessWayne Meissner2010-08-201-23/+60
* Tweak Pointer#inspect and make Pointer#to_s an alias for Pointer#inspectWayne Meissner2010-08-191-4/+4
* Remove MemoryPointer#inspect and use the common Pointer#inspectWayne Meissner2010-05-221-4/+5
* Implement Pointer#slice and Buffer#slice, and use it for inner structsWayne Meissner2010-01-271-6/+23
* Remove the MemoryOps pointer from every AbstractMemory objectWayne Meissner2009-11-271-3/+0
* Rework Pointer#initialize slightly to test for FIXNUM and BIGNUM parameters f...Wayne Meissner2009-09-181-13/+20
* Remove NullPointer classWayne Meissner2009-08-131-5/+15
* Allow Pointers to be used as addresses when constructing new Pointer instance...Wayne Meissner2009-08-131-12/+21
* Pull typeSize up into AbstractMemory, so [] can also be pulled up there.Wayne Meissner2009-08-111-4/+34
* Add access flags to AbstractMemory and check them on every accessWayne Meissner2009-07-301-0/+4
* When creating a Pointer via Pointer.new(0), set its ops to NullPointerOps, so...Wayne Meissner2009-06-011-1/+5
* Alias Pointer#to_i to Pointer#addressWayne Meissner2009-05-261-0/+1
* Implement Pointer.new(address) and Pointer.new(:type, address)Wayne Meissner2009-05-261-0/+28
* Rework the naming a bit.Wayne Meissner2009-05-061-21/+19