code: def _ctypes_ex_parameters(executable):
      
      result = []
      for p in executable.ordered_parameters:
          result.extend(p.ctypes_parameter())
  
      if type(executable).__name__ == "Function":
          result.extend(executable.ctypes_parameter()) #This method inherits from ValueElement.
          
      return result
docs: Returns a list of the parameters to form the wrapper executable to interact
      with ctypes.