ifc-lite-ffi 4.1.0

C FFI bindings for ifc-lite — native DLL for in-process IFC parsing
Documentation

C FFI bindings for ifc-lite.

Exports functions for use via P/Invoke from C#:

  • ifc_lite_parse: parse an IFC file and return JSON bytes
  • ifc_lite_parse_ex: parse with configurable opening filter
  • ifc_lite_free: free a buffer previously returned by parse functions

Build: cargo build --profile server-release -p ifc-lite-ffi Output: target/server-release/ifc_lite_ffi.dll

The server-release profile is mandatory, not a convenience: the workspace default release profile sets panic = 'abort', which turns the catch_unwind guards below into no-ops. Built that way, a parser panic aborts the entire host CAD process instead of returning error code 3. server-release inherits release but restores panic = "unwind".