
    I/Ph                        d dl mZmZmZmZ d dlmZ d dlmZ d Z	d Z
d Zeegej        j        _        egej        j        _        eej        j        _        e ee          gej        j        _        eej        j        _        dS )    )c_void_pc_char_pc_boolPOINTER)ffi)_encode_stringc                 Z    t           j                            t          |                     S )z{
    Get the in-process address of symbol named *name*.
    An integer is returned, or None if the symbol isn't found.
    )r   libLLVMPY_SearchAddressOfSymbolr   )names    V/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/llvmlite/binding/dylib.pyaddress_of_symbolr      s"    
 7//t0D0DEEE    c                 z    t           j                            t          |           t	          |                     dS )z
    Register the *address* of global symbol *name*.  This will make
    it usable (e.g. callable) from LLVM-compiled functions.
    N)r   r
   LLVMPY_AddSymbolr   r   )r   addresss     r   
add_symbolr      s2    
 G^D118G3D3DEEEEEr   c                     t          j                    5 }t           j                            t	          |           |          rt          t          |                    	 ddd           dS # 1 swxY w Y   dS )z"
    Load an external library
    N)r   OutputStringr
   LLVMPY_LoadLibraryPermanentlyr   RuntimeErrorstr)filenameouterrs     r   load_library_permanentlyr      s     
			 ,v700x((&2 2 	,s6{{+++	,, , , , , , , , , , , , , , , , , ,s   A
A,,A03A0N)ctypesr   r   r   r   llvmlite.bindingr   llvmlite.binding.commonr   r   r   r   r
   r   argtypesr   restyper    r   r   <module>r"      s    6 6 6 6 6 6 6 6 6 6 6 6             2 2 2 2 2 2F F FF F F, , , %  !
 2:
 $ -/7 $ ,2:GGH<M<M1N % .06 % - - -r   