tests/e2e/test-abi-function-callee.c
// Example from ABI doc v0.98
Example from ABI doc v0.98
Example from ABI doc v0 . 98
void accept_abi_example(int e, int f, structparm s, int g, int h, long double ld, double m, double n, int i, int j, int k) {
    assert_int(1, e, "abi_example e");
    assert_int(2, f, "abi_example f");
    assert_int(3, g, "abi_example g");
    assert_int(4, h, "abi_example h");
    assert_int(5, i, "abi_example i");
    assert_int(6, j, "abi_example j");
    assert_int(7, k, "abi_example k");
    assert_long_double(8.1, ld, "abi_example ld");
    assert_double(9.1, m, "abi_example m");
    assert_double(10.1, n, "abi_example n");
    assert_int(11, s.a, "abi_example s.a");
    assert_int(12, s.b, "abi_example s.b");
    assert_double(13.1, s.d, "abi_example s.d");
}
void accept_abi_example ( int e , int f , structparm s , int g , int h , long double ld , double m , double n , int i , int j , int k ) { assert_int ( 1 , e , " " ) ; assert_int ( 2 , f , " " ) ; assert_int ( 3 , g , " " ) ; assert_int ( 4 , h , " " ) ; assert_int ( 5 , i , " " ) ; assert_int ( 6 , j , " " ) ; assert_int ( 7 , k , " " ) ; assert_long_double ( 8.1 , ld , " " ) ; assert_double ( 9.1 , m , " " ) ; assert_double ( 10.1 , n , " " ) ; assert_int ( 11 , s . a , " " ) ; assert_int ( 12 , s . b , " " ) ; assert_double ( 13.1 , s . d , " " ) ; }
Example from ABI doc v0.98
Example from ABI doc v0 . 98