U
    +‰dæ  ã                   @   sL   d dl Z dd„ Zdd„ Zde_de_dgZd	d
„ Ze  e¡ efdd„ZdS )é    Nc                 C   s   |   d¡}|S ©Nzutf-8)Úencode)ÚsÚencoded© r   ú;/tmp/pip-unpacked-wheel-stw2luzp/llvmlite/binding/common.pyÚ_encode_string   s    
r   c                 C   s
   |   d¡S r   )Údecode)Úbr   r   r   Ú_decode_string	   s    r   z Encode a string for use by LLVM.z%Decode a LLVM character (byte)string.Fc                   C   s   dt d< d S )NTr   ©Ú_shutting_downr   r   r   r   Ú_at_shutdown   s    r   c                 C   s   | d S )a  
    Whether the interpreter is currently shutting down.
    For use in finalizers, __del__ methods, and similar; it is advised
    to early bind this function rather than look it up when calling it,
    since at shutdown module globals may be cleared.
    r   r   r   r   r   r   Ú_is_shutting_down   s    r   )Úatexitr   r   Ú__doc__r   r   Úregisterr   r   r   r   r   Ú<module>   s   
