
    6|hJ                        d dl mZ d dlmZ d dlmZ d Zd Z G d dej                        Z	 G d d	e	      Z
egej                  j                  _        ej                  ej                  j                  _        egej                  j                   _        ej                  ej                  j                   _        ej                  gej                  j"                  _        y
)    )ffi)opaque_pointers_enabled)c_boolc                  Z    t        t        j                  j                  t                    S N)
ContextRefr   libLLVMPY_ContextCreater        W/var/www/html/test/engine/venv/lib/python3.12/site-packages/llvmlite/binding/context.pycreate_contextr      s"    $$%<=? ?r   c                  Z    t        t        j                  j                  t                    S r   )GlobalContextRefr   r	   LLVMPY_GetGlobalContextr   r   r   r   get_global_contextr      s$    ''(?@B Br   c                   $     e Zd Z fdZd Z xZS )r   c                 ,    t         t        |   |       y r   )superr   __init__)selfcontext_ptr	__class__s     r   r   zContextRef.__init__   s    j$(5r   c                 B    t         j                  j                  |        y r   )r   r	   LLVMPY_ContextDisposer   s    r   _disposezContextRef._dispose   s    %%d+r   )__name__
__module____qualname__r   r   __classcell__)r   s   @r   r   r      s    6,r   r   c                       e Zd Zd Zy)r   c                      y r   r   r   s    r   r   zGlobalContextRef._dispose   s    r   N)r   r   r    r   r   r   r   r   r      s    r   r   N)llvmlite.bindingr   llvmliter   ctypesr   r   r   	ObjectRefr   r   r	   r   argtypesLLVMContextRefrestyper
   r   r   r   r   <module>r+      s      - ?
B
, ,z  -38   (*-*<*<   ' *0   %'*'9'9   $*-*<*<)=   &r   