code: def simply_type(result_type, pos):
      if result_type.is_reference:
          result_type = result_type.ref_base_type
      if result_type.is_const:
          result_type = result_type.const_base_type
      if result_type.is_cpp_class:
          result_type.check_nullary_constructor(pos)
      if result_type.is_array:
          result_type = PyrexTypes.c_ptr_type(result_type.base_type)
      return result_type
  
imports: from __future__ import absolute_import
  from .Errors import error, message
  from .None import ExprNodes
  from .None import Nodes
  from .None import Builtin
  from .None import PyrexTypes
  from ..None import Utils
  from .PyrexTypes import py_object_type, unspecified_type
  from .Visitor import CythonTransform, EnvTransform
label_desc: Use image node_id 2 for calling a global function with example usage: simply_type(result_type, pos) and returns: result_type