pybing/pybing_helpers.py
def _load_c_shared_library(METHODS):
    ''' Loads the pybing dynamic library and defines its functions '''
    if ut.VERBOSE:
        print('_load_c_shared_library')
    root_dir = realpath(join('..', dirname(__file__)))
    libname = 'pybing'
    rf_clib, def_cfunc = ctypes_interface.load_clib(libname, root_dir)
    # Load and expose methods from lib
    for method in METHODS.keys():
        def_cfunc(METHODS[method][1], method, METHODS[method][0])
    return rf_clib
 Loads the pybing dynamic library and defines its functions 
Loads the pybing dynamic library and defines its functions
Loads the pybing dynamic library and defines its functions
def _load_c_shared_library(METHODS):
    if ut.VERBOSE:
        print('_load_c_shared_library')
    root_dir = realpath(join('..', dirname(__file__)))
    libname = 'pybing'
    rf_clib, def_cfunc = ctypes_interface.load_clib(libname, root_dir)
    for method in METHODS.keys():
        def_cfunc(METHODS[method][1], method, METHODS[method][0])
    return rf_clib
def _load_c_shared_library ( METHODS ) : if ut . VERBOSE : print ( '_load_c_shared_library' ) root_dir = realpath ( join ( '..' , dirname ( __file__ ) ) ) libname = 'pybing' rf_clib , def_cfunc = ctypes_interface . load_clib ( libname , root_dir ) for method in METHODS . keys ( ) : def_cfunc ( METHODS [ method ] [ 1 ] , method , METHODS [ method ] [ 0 ] ) return rf_clib
Loads the pybing dynamic library and defines its functions
Loads the pybing dynamic library and defines its functions
''' Loads the pybing dynamic library and defines its functions ''' # Load and expose methods from lib
METHODS