ó
C]c           @@ sĪ   d  d l  m Z m Z d d l m Z d   Z d   Z d e j f d     YZ d e f d	     YZ	 e j
 e j j _ e j
 e j j _ e j
 g e j j _ d
 S(   i    (   t   print_functiont   absolute_importi   (   t   ffic           C@ s   t  t j j    S(   N(   t
   ContextRefR   t   libt   LLVMPY_ContextCreate(    (    (    s7   lib/python2.7/site-packages/llvmlite/binding/context.pyt   create_context   s    c           C@ s   t  t j j    S(   N(   t   GlobalContextRefR   R   t   LLVMPY_GetGlobalContext(    (    (    s7   lib/python2.7/site-packages/llvmlite/binding/context.pyt   get_global_context
   s    R   c           B@ s   e  Z d    Z d   Z RS(   c         C@ s   t  t |   j |  d  S(   N(   t   superR   t   __init__(   t   selft   context_ptr(    (    s7   lib/python2.7/site-packages/llvmlite/binding/context.pyR      s    c         C@ s   t  j j |   d  S(   N(   R   R   t   LLVMPY_ContextDispose(   R   (    (    s7   lib/python2.7/site-packages/llvmlite/binding/context.pyt   _dispose   s    (   t   __name__t
   __module__R   R   (    (    (    s7   lib/python2.7/site-packages/llvmlite/binding/context.pyR      s   	R   c           B@ s   e  Z d    Z RS(   c         C@ s   d  S(   N(    (   R   (    (    s7   lib/python2.7/site-packages/llvmlite/binding/context.pyR      s    (   R   R   R   (    (    (    s7   lib/python2.7/site-packages/llvmlite/binding/context.pyR      s   N(   t
   __future__R    R   t    R   R   R	   t	   ObjectRefR   R   t   LLVMContextRefR   R   t   restypeR   R   t   argtypes(    (    (    s7   lib/python2.7/site-packages/llvmlite/binding/context.pyt   <module>   s   		