Skip to content

v0.12.0 More error detection and consistent argument specification

Latest
Compare
Choose a tag to compare
@mshimizu-kx mshimizu-kx released this 22 Feb 12:24
1cc82ea
  • 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.