def __init__(self, *args):
        """
        If file exists, populates properties. CZMQ supports portable symbolic
links, which are files with the extension ".ln". A symbolic link is a
text file containing one line, the filename of a target file. Reading
data from the symbolic link actually reads from the target file. Path
may be NULL, in which case it is not used.
        """
        if len(args) == 2 and type(args[0]) is c_void_p and isinstance(args[1], bool):
            self._as_parameter_ = cast(args[0], zfile_p) # Conversion from raw type to binding
            self.allow_destruct = args[1] # This is a 'fresh' value, owned by us
        elif len(args) == 2 and type(args[0]) is zfile_p and isinstance(args[1], bool):
            self._as_parameter_ = args[0] # Conversion from raw type to binding
            self.allow_destruct = args[1] # This is a 'fresh' value, owned by us
        else:
            assert(len(args) == 2)
            self._as_parameter_ = lib.zfile_new(args[0], args[1]) # Creation of new raw type
            self.allow_destruct = True
def __init__ ( self , * args ) : if len ( args ) == 2 and type ( args [ 0 ] ) is c_void_p and isinstance ( args [ 1 ] , bool ) : self . _as_parameter_ = cast ( args [ 0 ] , zfile_p ) self . allow_destruct = args [ 1 ] elif len ( args ) == 2 and type ( args [ 0 ] ) is zfile_p and isinstance ( args [ 1 ] , bool ) : self . _as_parameter_ = args [ 0 ] self . allow_destruct = args [ 1 ] else : assert ( len ( args ) == 2 ) self . _as_parameter_ = lib . zfile_new ( args [ 0 ] , args [ 1 ] ) self . allow_destruct = True
If file exists, populates properties. CZMQ supports portable symbolic
links, which are files with the extension ".ln". A symbolic link is a
text file containing one line, the filename of a target file. Reading
data from the symbolic link actually reads from the target file. Path
may be NULL, in which case it is not used.