summaryrefslogtreecommitdiff
path: root/ext/ffi_c/Buffer.c
Commit message (Expand)AuthorAgeFilesLines
* Add support for using FFI in RactorLars Kanis2023-04-181-2/+2
* Make FFI classes GC.compact friendlyLars Kanis2023-04-141-1/+10
* Use type checking by TypedData and remove duplocated check by rb_obj_is_kind_ofLars Kanis2023-03-061-10/+10
* Implement Write Barrier and dsize for FFI::PointerJean Boussier2023-03-061-6/+29
* Convert FFI::AbstractMemory and descendants to TypedDataJean Boussier2023-03-021-16/+41
* 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-2/+2
* Fix typos in documentationPete Johns2015-12-231-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-0/+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-3/+11
|\
| * Convert C++ style comments to C /* */ styleWayne Meissner2012-08-041-2/+2
| * Rename endian.h to rbffi_endian.h to avoid conflict with system <endian.h>Wayne Meissner2012-07-211-1/+1
| * initial releaseunknown2012-01-091-0/+8
* | Add documentation (mainly for Struct and its decendants).Sylvain Daubert2011-10-021-1/+3
|/
* Add documentation for ArrayType, Buffer, DynamicLibrary, Function, Enum, EnumsSylvain Daubert2011-09-251-0/+65
* Use an embedded storage area for small Buffer instancesWayne Meissner2011-07-091-25/+36
* Implement Buffer#initialize_copy and Pointer#initialize_copyWayne Meissner2011-03-261-0/+28
* 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
* Add Struct#order and Pointer#order to swap endian-nessWayne Meissner2010-08-201-22/+61
* Implement Pointer#slice and Buffer#slice, and use it for inner structsWayne Meissner2010-01-271-5/+22
* Use xfree when the memory comes from xmalloc/xcalloc/ALLOC_NWayne Meissner2009-12-121-1/+1
* Remove the MemoryOps pointer from every AbstractMemory objectWayne Meissner2009-11-271-2/+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-39/+5
* FFI::Buffer code cleanupsWayne Meissner2009-08-071-28/+67
* Add access flags to AbstractMemory and check them on every accessWayne Meissner2009-07-301-1/+3
* Add Buffer#size for compatibility with JRuby FFI::BufferAman Gupta2009-08-051-0/+9
* When no 'clear' argument is passed to the Buffer or MemoryPointer initialize(...Wayne Meissner2009-05-271-1/+1
* Rework the naming a bit.Wayne Meissner2009-05-061-18/+18
* Pass the ffi module into each of the _Init functionsWayne Meissner2009-05-061-2/+1
* Fix up Buffer#type_size and Buffer[]Wayne Meissner2009-04-231-7/+26
* Avoid duplicating memory operations in Struct.c by using a table of function ...Wayne Meissner2009-03-201-0/+2
* Cleanup, only use buffer_mark when chaining buffers via '+', and only use buf...Wayne Meissner2009-03-201-29/+44
* Fix missing return valuesWayne Meissner2009-03-181-1/+1
* Check for a block and yield the new Buffer to it in initializeWayne Meissner2009-03-151-5/+22
* Move Buffer initialization into Buffer.cWayne Meissner2009-03-151-10/+14
* Create the type and size maps in C, and use them to do size lookups in Buffer...Wayne Meissner2009-03-151-1/+1
* Convert Buffer to use the allocatorWayne Meissner2009-03-151-9/+26
* Convert froml (AbstractMemory *) DATA_PTR(obj) to calls to rb_FFI_AbstractMem...Wayne Meissner2009-03-151-3/+3
* 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/+98