code: def _pointer_to_int(self, c_ptr):
      return int(self.ffi.cast("uintptr_t", c_ptr))
  
imports: import contextlib
  import functools
  import os
  import subprocess
  from .None import cdata
  from .tester import Tester, CDataExporter, CDataImporter
  from .util import run_cmd, log
  from ..utils.source import ARROW_ROOT_DEFAULT
label_desc: Use image node_id 2 for calling the _CDataBase obj's underlying member method code with example usage: obj._pointer_to_int(c_ptr) and returns: int