code: def _generate_cpy_function_collecttype(self, tp, name):
      assert isinstance(tp, model.FunctionPtrType)
      if tp.ellipsis:
          self._do_collect_type(tp)
      else:
          # don't call _do_collect_type(tp) in this common case,
          # otherwise test_autofilled_struct_as_argument fails
          for type in tp.args:
              self._do_collect_type(type)
          self._do_collect_type(tp.result)
  
imports: import sys
  from .None import model
  from .error import VerificationError
  from .None import _imp_emulation
label_desc: Use image node_id 19 for calling the VCPythonEngine obj's underlying member method code with example usage: obj._generate_cpy_function_collecttype(tp, name) without return types