MCPcopy Create free account
hub / github.com/apache/arrow / __init__

Method __init__

cpp/gdb_arrow.py:409–414  ·  view source on GitHub ↗
(self, val)

Source from the content-addressed store, hash-verified

407 """
408
409 def __init__(self, val):
410 self.val = val
411 ty = self.val.type.template_argument(0)
412 # XXX This assumes that the embedded T* pointer lies at the start
413 # of std::unique_ptr<T>.
414 self._ptr = self.val.address.reinterpret_cast(ty.pointer().pointer())
415
416 def get(self):
417 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected