관리-도구
편집 파일: parse.cpython-311.pyc
� �܋f� � � � d dl Z d� ZdS )� Nc �� � t t j � |dd� � � � 5 }g }|D ]?}|� � � � d� � r�*|� |� � �@| � d� |� � � � ddd� � n# 1 swxY w Y t t j � |dd� � � � 5 }g }d}d}|D �]8}|r*|� � � � d � � rd}�/|� � � � d � � rd}|� � � � d� � r��|� � � � d� � r||� d � � z }��|dk r1||� d � � z }||� d� � z }��|� dd� � }|� dd� � }|� |� � ��:| � d� |� � � � ddd� � dS # 1 swxY w Y dS )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.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�ignorings �t/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/random/_examples/cffi/parse.py�parse_distributions_hr s� � � �b�g�l�l�7�H�j�9�9� :� :� �c���� � �D��z�z�|�|�&�&�s�+�+� �� �H�H�T�N�N�N�N�������1������� � � � � � � � � � ���� � � � � �b�g�l�l�7�H�.?�@�@� A� A� �S�������� � �D�� ��:�:�<�<�*�*�8�4�4� %�$�H���z�z�|�|�&�&�';�<�<� ��� �z�z�|�|�&�&�s�+�+� �� �z�z�|�|�&�&��7�7� ��4�:�:�c�?�?�*����1����4�:�:�c�?�?�*���4�:�:�c�?�?�*��� �<�<� �2�.�.�D��<�<���;�;�D� �H�H�T�N�N�N�N�������1������A � � � � � � � � � � � ���� � � � � � s% �A-B(�(B,�/B,�!E+I�I� I)r r � � r �<module>r"