code: def _ctypes_ex_clean(executable):
      
      result = []
      for p in executable.ordered_parameters:
          _ctypes_code_parameter(result, p, "clean")
          
      if type(executable).__name__ == "Function":
          _ctypes_code_parameter(result, executable, "clean")
          
      return result
docs: Return a list of code lines to take care of assigning pointers for output variables
      interacting with ctypes.