summaryrefslogtreecommitdiff
path: root/tests/ports/unix/ffi_int_long32.py
blob: 32fdb8e0ec7df601b46e438f6114335d410dad07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# test 32-bit long arguments and return types for ffi functions

import struct

import ffi_int_base

if struct.calcsize("l") != 4:
    print("SKIP")
    raise SystemExit

ffi_int_base.test(
    [
        ("l", "fli"),
        ("L", "flu"),
    ]
)