Return a list of code lines to take care of assigning pointers for output variables
    interacting with ctypes.

def _ctypes_ex_clean(executable):
    """Return a list of code lines to take care of assigning pointers for output variables
    interacting with ctypes.
    """
    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