summaryrefslogtreecommitdiff
path: root/ext/ffi_c/MemoryPointer.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-3/+17
* Convert FFI::AbstractMemory and descendants to TypedDataJean Boussier2023-03-021-5/+17
* Remove win32/stdint.h and stdbool.hLars Kanis2020-09-231-7/+2
* On MSCV, an unsigned long is 4 bytes (32 bits), not 8 bytes. Thus the alignme...Charlie Savage2020-05-181-1/+1
* Fix documentation typopmahoney2015-06-101-1/+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-7/+4
* Merge remote-tracking branch 'upstream/master'Sylvain Daubert2012-12-081-11/+13
|\
| * Fix some unused-var warningsWayne Meissner2012-08-131-7/+0
| * MemoryPointer.from_string calls to_str (closes #215)Kim Burgestrand2012-07-311-1/+2
| * initial releaseunknown2012-01-091-0/+8
* | Add documentation (mainly for Struct and its decendants).Sylvain Daubert2011-10-021-1/+32
|/
* Implement MemoryPointer.from_string() in C, and correct a type_size bug with itWayne Meissner2011-08-061-0/+10
* Fix warningsWayne Meissner2011-08-011-1/+1
* Implement Buffer#initialize_copy and Pointer#initialize_copyWayne Meissner2011-03-261-27/+17
* Add newlines to the end of every fileWayne Meissner2010-12-301-0/+1
* Add Struct#order and Pointer#order to swap endian-nessWayne Meissner2010-08-201-20/+12
* Remove MemoryPointer#inspect and use the common Pointer#inspectWayne Meissner2010-05-221-13/+0
* Use xfree when the memory comes from xmalloc/xcalloc/ALLOC_NWayne Meissner2009-12-121-2/+2
* Remove the MemoryOps pointer from every AbstractMemory objectWayne Meissner2009-11-271-1/+0
* Add return NULL/Qnil after some rb_raise() calls, to fix broken RHEL compilerWayne Meissner2009-10-081-0/+1
* Use xmalloc/xfree for Buffer & MemoryPointer data storage allocations, so all...Wayne Meissner2009-08-111-2/+2
* Pull typeSize up into AbstractMemory, so [] can also be pulled up there.Wayne Meissner2009-08-111-26/+47
* Add access flags to AbstractMemory and check them on every accessWayne Meissner2009-07-301-0/+1
* When no 'clear' argument is passed to the Buffer or MemoryPointer initialize(...Wayne Meissner2009-05-271-1/+1
* Fix RUBY_FFI-21 - use rb_ensure instead of rb_rescueWayne Meissner2009-05-061-1/+1
* Rework the naming a bit.Wayne Meissner2009-05-061-18/+19
* Pass the ffi module into each of the _Init functionsWayne Meissner2009-05-061-2/+1
* Use rb_global_variable() for more globalsWayne Meissner2009-05-061-3/+6
* Generalized usage of global static IDs initialized at extension load time ins...Luc Heinrich2009-03-271-1/+5
* Avoid duplicating memory operations in Struct.c by using a table of function ...Wayne Meissner2009-03-201-1/+4
* Fix missing return valuesWayne Meissner2009-03-181-1/+1
* Move implementation of MemoryPointer#new and MemoryPointer#[] into C codeWayne Meissner2009-03-151-28/+63
* Convert froml (AbstractMemory *) DATA_PTR(obj) to calls to rb_FFI_AbstractMem...Wayne Meissner2009-03-151-4/+4
* Move Struct allocation into C codeWayne Meissner2009-01-241-1/+1
* Add external method to allocate MemoryPointer instancesWayne Meissner2009-01-241-6/+18
* Multitude of compilation fixups for Win32Wayne Meissner2008-12-101-3/+3
* Move extension into ext/ffi_c to make the layout compliant with rake-compilerWayne Meissner2008-12-101-0/+99