HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/numpy/random/_examples/cffi/__pycache__/parse.cpython-310.pyc
o

6��a%�@sddlZdd�ZdS)�NcCsxttj�|dd���$}g}|D]}|���d�rq|�|�q|�d�|��Wd�n1s1wYttj�|dd���r}g}d}d}|D]X}|rW|���d	�rVd}qI|���d
�r`d}|���d�rhqI|���d�rw||�d
�7}qI|dkr�||�d
�7}||�d�8}qI|�	dd�}|�	dd�}|�	dd�}|�|�qI|�d�|��Wd�dS1s�wYdS)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.
    �randomzbitgen.h�#�
Nzdistributions.hrFz#endifz#ifdef __cplusplusTzstatic NPY_INLINE�{�}�DECLDIR��
NPY_INLINE�
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�C/usr/lib/python3/dist-packages/numpy/random/_examples/cffi/parse.py�parse_distributions_hsD�	"�r)r
rrrrr�<module>s