52 Commits

Author SHA256 Message Date
Duncan Mac-Vicar
d61b439dc4 - Update to 0.5.0
* Major improvements
  * New Function class
  * Structs can be passed and returned by value
  * Implement a custom trampoline for x86_64, resulting in roughly 30% speedup
  * Improve dispatch of functions which take (0..6) char/short/int/long/pointer arguments by between 50% and 200% on x86_64
  * Callbacks are now approximately 100% faster on x86_64
* Minor improvements
  * Add support for MacOSX Snow Leopard
  * Improve support for Windows releasing fat binaries on rubyforge
  * Better introspection in structs:
    * Add StructLayout::Field#type, size, offset, alignment and name
      methods
    * Add StructLayout#fields which returns an array of
      StructLayout::Field objects
  * Add automagic deducing of library name from module name.
    Idea and prototype implementation from Matt Hulse
  * Callback fields in structs can now be both read and written
  * Add a bunch of new benchmarks
  * Lots of refactoring
* Experimental features
  * blocking functions (i.e. native code that blocks the thread) support
* Bug fixes
  * Fix RUBY-FFI_43 (rake gem dependency)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ffi?expand=0&rev=2
2009-10-13 09:56:08 +00:00
Duncan Mac-Vicar
0b3e7b8f72 osc copypac from project:home:dmacvicar:ruby package:rubygem-ffi revision:2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:ruby:extensions/rubygem-ffi?expand=0&rev=1
2009-08-18 19:53:11 +00:00