mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-19 09:28:27 +00:00
as_ptr visibility fix
This commit is contained in:
parent
58e59810ac
commit
50b63304d4
@ -86,7 +86,7 @@ impl<'a> ImStr<'a> {
|
||||
bytes: Cow::Borrowed(bytes)
|
||||
}
|
||||
}
|
||||
fn as_ptr(&self) -> *const c_char { self.bytes.as_ptr() as *const c_char }
|
||||
pub fn as_ptr(&self) -> *const c_char { self.bytes.as_ptr() as *const c_char }
|
||||
}
|
||||
|
||||
impl<'a> From<&'a str> for ImStr<'a> {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user