(&self)
| 261 | } |
| 262 | |
| 263 | pub fn functions(&self) -> Array<QualifiedNameAndType> { |
| 264 | unsafe { |
| 265 | let mut count = 0; |
| 266 | let handles = BNGetPlatformFunctions(self.handle, &mut count); |
| 267 | Array::new(handles, count, ()) |
| 268 | } |
| 269 | } |
| 270 | |
| 271 | // TODO: system_calls |
| 272 | // TODO: add a helper function to define a system call (platform function with a specific type) |