Get function from the session. Parameters ---------- name : str The name of the function Returns ------- f : Function The result function.
(self, name)
| 60 | return self.get_function("ffi.SystemLib")() |
| 61 | |
| 62 | def get_function(self, name): |
| 63 | """Get function from the session. |
| 64 | |
| 65 | Parameters |
| 66 | ---------- |
| 67 | name : str |
| 68 | The name of the function |
| 69 | |
| 70 | Returns |
| 71 | ------- |
| 72 | f : Function |
| 73 | The result function. |
| 74 | """ |
| 75 | return self._sess.get_function(name) |
| 76 | |
| 77 | def device(self, dev_type, dev_id=0): |
| 78 | """Construct a remote device. |
no outgoing calls