also as_ptr() is crate visible only
This commit is contained in:
parent
43c1f71cf6
commit
a124eaf24f
|
@ -35,7 +35,7 @@ impl SecurityAttributes {
|
|||
}
|
||||
|
||||
/// Return raw handle of security attributes.
|
||||
pub unsafe fn as_ptr(&mut self) -> PSECURITY_ATTRIBUTES {
|
||||
pub(crate) unsafe fn as_ptr(&mut self) -> PSECURITY_ATTRIBUTES {
|
||||
match self.attributes.as_mut() {
|
||||
Some(attributes) => attributes.as_ptr(),
|
||||
None => ptr::null_mut(),
|
||||
|
|
Loading…
Reference in New Issue