def __init__(self, handle=None): super(self.__class__, self).__init__(ffi, lib, handle=handle, match=ffi.typeof( lib.flux_sec_create).result, prefixes=['flux_sec_'], destructor=lib.flux_sec_destroy,) if handle is None: self.handle = lib.flux_sec_create()
def __init__(self, handle=None): if handle is None: self.external = False handle = lib.flux_sec_create(type_id) else: self.external = True super(self.__class__, self).__init__(ffi, lib, handle=handle, match=ffi.typeof(lib.flux_sec_create).result, prefixes=['flux_sec_'], )
def __init__(self, handle=None): super(self.__class__, self).__init__( ffi, lib, handle=handle, match=ffi.typeof(lib.flux_sec_create).result, prefixes=['flux_sec_'], destructor=lib.flux_sec_destroy, ) if handle is None: self.handle = lib.flux_sec_create()
def __init__(self, handle=None): if handle is None: self.external = False handle = lib.flux_sec_create(type_id) else: self.external = True super(self.__class__, self).__init__( ffi, lib, handle=handle, match=ffi.typeof(lib.flux_sec_create).result, prefixes=['flux_sec_'], )