o
    D¼2hJ  ã                   @   s˜   d dl mZ d dlmZ d dlmZ dd„ Zdd„ ZG dd	„ d	ejƒZ	G d
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_dS )é    )Úffi)Úopaque_pointers_enabled)Úc_boolc                   C   ó   t tj t¡ƒS ©N)Ú
ContextRefr   ÚlibÚLLVMPY_ContextCreater   © r
   r
   úl/var/www/html/alexa/alex_system/speach-to-text/venv/lib/python3.10/site-packages/llvmlite/binding/context.pyÚcreate_context   ó   
ÿr   c                   C   r   r   )ÚGlobalContextRefr   r   ÚLLVMPY_GetGlobalContextr   r
   r
   r
   r   Úget_global_context   r   r   c                       s$   e Zd Z‡ fdd„Zdd„ Z‡  ZS )r   c                    s   t t| ƒ |¡ d S r   )Úsuperr   Ú__init__)ÚselfÚcontext_ptr©Ú	__class__r
   r   r      s   zContextRef.__init__c                 C   s   t j | ¡ d S r   )r   r   ÚLLVMPY_ContextDispose©r   r
   r
   r   Ú_dispose   s   zContextRef._dispose)Ú__name__Ú
__module__Ú__qualname__r   r   Ú__classcell__r
   r
   r   r   r      s    r   c                   @   s   e Zd Zdd„ ZdS )r   c                 C   s   d S r   r
   r   r
   r
   r   r      s   zGlobalContextRef._disposeN)r   r   r   r   r
   r
   r
   r   r      s    r   N)Úllvmlite.bindingr   Úllvmliter   Úctypesr   r   r   Ú	ObjectRefr   r   r   r   ÚargtypesÚLLVMContextRefÚrestyper	   r   r
   r
   r
   r   Ú<module>   s    