o
    ÒÜg×  ã                   @   s   d dl Z dd„ ZdS )é    Nc                 C   sl  t tj |dd¡ƒ$}g }|D ]}| ¡  d¡rq| |¡ q|  d |¡¡ W d  ƒ n1 s1w   Y  t tj |dd¡ƒl}g }d}d}|D ]R}|rW| ¡  d	¡rVd}qI| ¡  d
¡r`d}| ¡  d¡rhqI| ¡  d¡rw|| d¡7 }qI|dkrŠ|| d¡7 }|| d¡8 }qI| 	dd¡}| 	dd¡}| |¡ qI|  d |¡¡ W d  ƒ dS 1 s¯w   Y  dS )zÎ
    Parse distributions.h located in inc_dir for CFFI, filling in the ffi.cdef

    Read the function declarations without the "#define ..." macros that will
    be filled in when loading the library.
    Úrandomzbitgen.hú#Ú
Nzdistributions.hr   Fz#endifz#ifdef __cplusplusTzstatic inlineÚ{Ú}ÚDECLDIRÚ ÚRAND_INT_TYPEÚint64_t)
ÚopenÚosÚpathÚjoinÚstripÚ
startswithÚappendÚcdefÚcountÚreplace)ÚffiÚinc_dirÚfidÚsÚlineÚin_skipÚignoring© r   ú[/var/www/html/api-tag/env/lib/python3.10/site-packages/numpy/random/_examples/cffi/parse.pyÚparse_distributions_h   sB   ù	"àr   )r   r   r   r   r   r   Ú<module>   s    