code: def _ctypes_ex_compatvars(executable):
      
      result = []
      for p in executable.ordered_parameters:
          _ctypes_code_parameter(result, p, "regular")
          _ctypes_code_parameter(result, p, "saved")
  
      if type(executable).__name__ == "Function":
          _ctypes_code_parameter(result, executable, "regular")
          _ctypes_code_parameter(result, executable, "saved")
  
      return result
docs: Returns a list of code lines for signature matching variables, and 
      pointer saving variables.