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

import struct

import ffi_int_base

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

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