(handle: *mut BNDebugInfoParser)
| 109 | |
| 110 | impl DebugInfoParser { |
| 111 | pub(crate) unsafe fn from_raw(handle: *mut BNDebugInfoParser) -> Ref<Self> { |
| 112 | debug_assert!(!handle.is_null()); |
| 113 | |
| 114 | Ref::new(Self { handle }) |
| 115 | } |
| 116 | |
| 117 | /// Returns debug info parser of the given name, if it exists |
| 118 | pub fn from_name<S: BnStrCompatible>(name: S) -> Result<Ref<Self>, ()> { |
nothing calls this directly
no test coverage detected