Expand description
C ABI for View IR rendering sessions.
§Thread safety
CrepusSession is not Sync. Use one session per thread, or serialize
all calls to a shared session with an external mutex.
§Panics
This crate is built with panic = "abort" so unwinding never crosses the C ABI.
§Event callbacks
Pointers passed to CrepusEventCallback are valid until the next
crepus_session_dispatch_event call on the same session (or until the session
is freed). Do not retain them past that point.
Structs§
Functions§
- crepus_
last_ error - crepus_
session_ apply_ context_ patch_ json - crepus_
session_ dispatch_ event_ json - crepus_
session_ free - crepus_
session_ new - crepus_
session_ render_ ir_ json - crepus_
session_ set_ component - crepus_
session_ set_ context_ json - crepus_
session_ set_ event_ callback - crepus_
session_ set_ files_ json - crepus_
session_ set_ template_ string - crepus_
session_ take_ last_ error - crepus_
string_ free