HOTFIX: make buf public so that outside code works
This commit is contained in:
parent
03a1327a16
commit
45c097553e
2 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "ofw"
|
name = "ofw"
|
||||||
description = "basic interfacing with OpenFirmware (former IEEE standard 1275)"
|
description = "basic interfacing with OpenFirmware (former IEEE standard 1275)"
|
||||||
version = "0.1.0"
|
version = "0.1.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Niko Chow-Stuart <nikocs@voremicrocomputers.com>"]
|
authors = ["Niko Chow-Stuart <nikocs@voremicrocomputers.com>"]
|
||||||
repository = "https://git.gaycatgirl.sex/voremicrocomputers/vap_os/ofw"
|
repository = "https://git.gaycatgirl.sex/voremicrocomputers/vap_os/ofw"
|
||||||
|
|
|
@ -69,8 +69,12 @@ pub struct Args {
|
||||||
/// a generic structure for accessing the results of a service call
|
/// a generic structure for accessing the results of a service call
|
||||||
#[allow(dead_code)]
|
#[allow(dead_code)]
|
||||||
pub struct ServiceResult<'a> {
|
pub struct ServiceResult<'a> {
|
||||||
|
/// whether or not the service call was successful
|
||||||
pub success: bool,
|
pub success: bool,
|
||||||
buf: &'a mut [i32],
|
/// a buffer for storing the arguments and return values of the service call
|
||||||
|
/// should not be used directly
|
||||||
|
pub buf: &'a mut [i32],
|
||||||
|
/// a slice of the buffer containing the return values of the service call
|
||||||
pub rets: &'a [i32],
|
pub rets: &'a [i32],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue