o
    z¨Êhu  ã                   @   sÀ   d dl Z d dlZd dlZddlmZ ejje  ¡ dkdd�ejje 	ej
¡jdk dd�G d	d
„ d
ejƒƒƒZejje  ¡ dkdd�ejje 	ej
¡jdk dd�ejjG dd„ dejƒƒƒƒZdS )é    Né   )ÚutilÚDarwinzVProne to error when run with numpy/f2py/tests on mac os, but not when run in isolation)Úreasoné   z32-bit builds are buggyc                   @   ó.   e Zd ZdZdZde› de› d�Zdd„ ZdS )	ÚTestMultilineú.pyfÚ	multilineú
python module zô
    usercode '''
void foo(int* x) {
    char dummy = ';';
    *x = 42;
}
'''
    interface
        subroutine foo(x)
            intent(c) foo
            integer intent(out) :: x
        end subroutine foo
    end interface
end python module ú
    c                 C   ó   | j  ¡ dks	J ‚d S ©Né*   ©ÚmoduleÚfoo©Úself© r   úW/var/www/html/env/lib/python3.10/site-packages/numpy/f2py/tests/test_semicolon_split.pyÚtest_multiline%   ó   zTestMultiline.test_multilineN)Ú__name__Ú
__module__Ú__qualname__ÚsuffixÚmodule_nameÚcoder   r   r   r   r   r      s    
ÿòr   c                   @   r   )	ÚTestCallstatementr	   Úcallstatementr   aN  
    usercode '''
void foo(int* x) {
}
'''
    interface
        subroutine foo(x)
            intent(c) foo
            integer intent(out) :: x
            callprotoargument int*
            callstatement { &
                ; &
                x = 42; &
            }
        end subroutine foo
    end interface
end python module r   c                 C   r   r   r   r   r   r   r   Útest_callstatementJ   r   z$TestCallstatement.test_callstatementN)r   r   r   r   r   r   r!   r   r   r   r   r   )   s    ÿïr   )ÚplatformÚpytestÚnumpyÚnpÚ r   ÚmarkÚskipifÚsystemÚdtypeÚintpÚitemsizeÚF2PyTestr   Úslowr   r   r   r   r   Ú<module>   s.    
þþ
þþ