code: def __init__(self, array, ptr=None):
      self._arr = array
  
      if ctypes:
          self._ctypes = ctypes
          self._data = self._ctypes.c_void_p(ptr)
      else:
          # fake a pointer-like object that holds onto the reference
          self._ctypes = _missing_ctypes()
          self._data = self._ctypes.c_void_p(ptr)
          self._data._objects = array
  
      if self._arr.ndim == 0:
          self._zerod = True
      else:
          self._zerod = False
  
imports: from __future__ import division, absolute_import, print_function
  import re
  import sys
  import platform
  from numpy.compat import unicode
  from numpy.core.overrides import set_module
  from .multiarray import dtype, array, ndarray
label_desc: Use image node_id 1 to create a new _ctypes object from inherited base classes: object with example: obj = _ctypes(array, ptr)