Skip to content

Releases: KxSystems/ffi

v0.12.0 More error detection and consistent argument specification

22 Feb 12:24
1cc82ea
Compare
Choose a tag to compare
  • CMake support
  • Fully documented code (This must be accompanied by overhaul of FFI page in docs repository)
  • Changed names of functions for intuitive use
  • Change specification of bind, callFunction and cvar so that they can tale a list of shared object name and function/variable name
  • Change specification of bind, callFunction and cvar so that (::) must be appended at the tail of argument list because it was checking only type 0 before and caused strange behavior for passing simple list or string list.
  • Added fault tolerant type checks so that sudden crash is prevented as much as possible, for example unsupported type characters as an argument to top level interface functions). The only patterns where q crashes are
    • callback function causes error and foreign function using the calback cannot handle the error (You can see error message from q but execution of foreign function crashes)
    • argument type characters for call back function are wrong. C function cannot check false q internal conversion to wrong type (You cannot see any error message)
  • Removed garbage functions from q script since they are doing nothing and expected functionality can be covered by the change above.

Improved interop with older systems

10 Jan 12:03
@sv sv
6a45c3d
Compare
Choose a tag to compare
  • basic support for foreign
  • callbacks with lots of arguments(>8) are folded to a list
  • compatibility and interop

dereference and raw pointers

21 Feb 09:53
@sv sv
3ba4670
Compare
Choose a tag to compare
  • Fixes for type "r"(raw pointer)
  • New type "l" which matches platform's size_t
  • Dereference pointers according to the spec(similar to 1:)
    Enables interfacing with API like libhdfs

Initial release

06 Nov 10:19
@sv sv
Compare
Choose a tag to compare
v0.9.9

switch to apache2