Releases: KxSystems/ffi
Releases · KxSystems/ffi
v0.12.0 More error detection and consistent argument specification
- 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
- basic support for foreign
- callbacks with lots of arguments(>8) are folded to a list
- compatibility and interop
dereference and raw pointers
- 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
v0.9.9 switch to apache2