Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
littledivy committed Jul 21, 2024
1 parent b3fbe9a commit 4448f95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ pub struct Macho {
sectdata: Option<Vec<u8>>,
}

const SEGNAME: [u8; 16] = *b"__SUI\0\0\0\0\0\0\0\0\0\0\0";
pub(crate) const SEGNAME: [u8; 16] = *b"__SUI\0\0\0\0\0\0\0\0\0\0\0";

impl Macho {
pub fn from(obj: Vec<u8>) -> Result<Self, Error> {
Expand Down Expand Up @@ -510,6 +510,7 @@ impl Macho {

#[cfg(target_os = "macos")]
mod macho {
use super::SEGNAME;
use std::ffi::CString;
use std::os::raw::c_char;

Expand Down

0 comments on commit 4448f95

Please sign in to comment.