
    Bwgu                        d dl Z d dlZd dlZddlmZ ej                  j                   e j                         dk(  d      ej                  j                   ej                  ej                        j                  dk  d       G d	 d
ej                                      Zej                  j                   e j                         dk(  d      ej                  j                   ej                  ej                        j                  dk  d      ej                  j                   G d dej                                             Zy)    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 Zy)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                 B    | j                   j                         dk(  sJ y N*   modulefooselfs    \/var/www/horilla/myenv/lib/python3.12/site-packages/numpy/f2py/tests/test_semicolon_split.pytest_multilinezTestMultiline.test_multiline%       {{ B&&&    N)__name__
__module____qualname__suffixmodule_namecoder    r   r   r	   r	      s5     FKm  -  D"'r   r	   c                   ,    e Zd ZdZdZde de dZd Zy)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                 B    | j                   j                         dk(  sJ y r   r   r   s    r   test_callstatementz$TestCallstatement.test_callstatementJ   r   r   N)r   r   r   r   r   r   r%   r    r   r   r"   r"   )   s5     F!Km   -  #D('r   r"   )platformpytestnumpynp r   markskipifsystemdtypeintpitemsizeF2PyTestr	   slowr"   r    r   r   <module>r3      s3       HOO!$  
 BHHRWW"$  'DMM '	'0 HOO!$  
 BHHRWW"$   ' ' 	'r   