U
    -e                     @   sh   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jejj	_
ejejj_
ejgejj_d
S )    )ffic                   C   s   t tj S N)
ContextRefr   libLLVMPY_ContextCreate r   r   Y/var/www/html/Darija-Ai-Train/env/lib/python3.8/site-packages/llvmlite/binding/context.pycreate_context   s    r	   c                   C   s   t tj S r   )GlobalContextRefr   r   LLVMPY_GetGlobalContextr   r   r   r   get_global_context   s    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__)selfZ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)Zllvmlite.bindingr   r	   r   Z	ObjectRefr   r
   ZLLVMContextRefr   r   restyper   r   Zargtypesr   r   r   r   <module>   s   