Crate wpilib_sys
source ·Re-exports
Modules
Macros
Wraps a C/C++ HAL function call that looks like
T foo(arg1, arg2, arg3, ... , int32_t* status)
and turns that status into a HALResult<T>
, with a non-zero status code returning in
the Err
variant.Like
hal_call!
, but ignores the status code and returns the functions result anyway.
This sounds bad, but WPILibC does it in some places, and there isn’t really a reason to
needlessly complicate the public interface.A utility macro for referencing rust-bindgen’s generated names for usage instances.
A utility macro for referencing rust-bindgen’s generated names for usage types.