All comments in the function
(&self)
| 404 | |
| 405 | /// All comments in the function |
| 406 | pub fn comments(&self) -> Array<Comment> { |
| 407 | let mut count = 0; |
| 408 | let lines = unsafe { BNGetCommentedAddresses(self.handle, &mut count) }; |
| 409 | unsafe { Array::new(lines, count, self.to_owned()) } |
| 410 | } |
| 411 | |
| 412 | pub fn basic_blocks(&self) -> Array<BasicBlock<NativeBlock>> { |
| 413 | unsafe { |