(self, debug, args)
| 102 | class _CDataBase: |
| 103 | |
| 104 | def __init__(self, debug, args): |
| 105 | import jpype |
| 106 | self.debug = debug |
| 107 | self.args = args |
| 108 | self.ffi = cdata.ffi() |
| 109 | setup_jpype() |
| 110 | # JPype pointers to java.io, org.apache.arrow... |
| 111 | self.java_io = jpype.JPackage("java").io |
| 112 | self.java_arrow = jpype.JPackage("org").apache.arrow |
| 113 | self.java_allocator = self._make_java_allocator() |
| 114 | |
| 115 | def _pointer_to_int(self, c_ptr): |
| 116 | return int(self.ffi.cast('uintptr_t', c_ptr)) |
no test coverage detected