Crate wpilib_sys

Source

Re-exports§

pub use self::bindings::*;
pub use self::hal_call::*;
pub use self::usage::*;

Modules§

bindings
hal_call
usage

Macros§

hal_call
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.
maybe_hal_call
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.

Statics§

WPILIB_COMMIT_HASH