HOTFIX: make buf public so that outside code works

This commit is contained in:
husky 2023-07-20 16:13:09 -07:00
parent 03a1327a16
commit 45c097553e
No known key found for this signature in database
GPG key ID: 6B3D8CB511646891
2 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,7 @@
[package]
name = "ofw"
description = "basic interfacing with OpenFirmware (former IEEE standard 1275)"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
authors = ["Niko Chow-Stuart <nikocs@voremicrocomputers.com>"]
repository = "https://git.gaycatgirl.sex/voremicrocomputers/vap_os/ofw"

View file

@ -69,8 +69,12 @@ pub struct Args {
/// a generic structure for accessing the results of a service call
#[allow(dead_code)]
pub struct ServiceResult<'a> {
/// whether or not the service call was successful
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],
}