o
    gZ                     @   s   d dl Z d dlZd dlmZ ddlmZ ejje  dkddejje ddG d	d
 d
ej	Z
ejje  dkddejje ddejjG dd dej	ZdS )    N)IS_64BIT   )utilDarwinzVProne to error when run with numpy/f2py/tests on mac os, but not when run in isolation)reasonz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   _/var/www/html/api-tag/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_callstatementI   r   z$TestCallstatement.test_callstatementN)r   r   r   r   r   r   r!   r   r   r   r   r   )   s    
r   )platformpytestnumpy.testingr    r   markskipifsystemF2PyTestr   slowr   r   r   r   r   <module>   s*    

