Skip to content
Commit 0e08dc93 authored by Douglas Raillard's avatar Douglas Raillard
Browse files

lisa._assets.kmodules.lisa: Improve FFI bindings

FEATURE

* Implement IntoFfi for &str. This is achieved by using struct rust_str
  rather than using const char*, as the latter only allowed a FromFfi
  implementation.

* Pretty print error codes wrapper in ErrorCode. This includes the
  NegativeError type that provides a binding to the PTR_ERR() kernel
  API.
parent 15502af1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment