Ruby: ext/fiddle/libffi-3.2.1/testsuite/libffi.call/ffitest.h File Reference

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

Macros
ffitest.h File Reference
`#include <stdlib.h>`
`#include <stdio.h>`
`#include <string.h>`
`#include <fcntl.h>`
`#include <ffi.h>`
`#include "fficonfig.h"`

Go to the source code of this file.

## Macros
#define | MAX_ARGS 256
#define | CHECK(x) (void)(!(x) ? (abort(), 1) : 0)
#define | __UNUSED__ __attribute__((__unused__))
#define | __STDCALL__ __attribute__((stdcall))
#define | __THISCALL__ __attribute__((thiscall))
#define | __FASTCALL__ __attribute__((fastcall))
#define | ABI_NUM FFI_DEFAULT_ABI
#define | ABI_ATTR
#define | PRIdLL "lld"
#define | PRIuLL "llu"
#define | PRIuPTR "lu"
#define | PRIu8 "u"
#define | PRId8 "d"
#define | PRIu64 "I64u"
#define | PRId64 "I64d"

## Macro Definition Documentation

## ◆ __FASTCALL__

#define __FASTCALL__ __attribute__((fastcall))

Definition at line 26 of file ffitest.h.

## ◆ __STDCALL__

#define __STDCALL__ __attribute__((stdcall))

Definition at line 24 of file ffitest.h.

## ◆ __THISCALL__

#define __THISCALL__ __attribute__((thiscall))

Definition at line 25 of file ffitest.h.

## ◆ __UNUSED__

#define __UNUSED__ __attribute__((__unused__))

Definition at line 23 of file ffitest.h.

## ◆ ABI_ATTR

#define ABI_ATTR

Definition at line 36 of file ffitest.h.

## ◆ ABI_NUM

#define ABI_NUM FFI_DEFAULT_ABI

Definition at line 35 of file ffitest.h.

## ◆ CHECK

#define CHECK | ( |  | x | ) | (void)(!(x) ? (abort(), 1) : 0)

Definition at line 18 of file ffitest.h.

## ◆ MAX_ARGS

#define MAX_ARGS 256

Definition at line 16 of file ffitest.h.

## ◆ PRId64

#define PRId64 "I64d"

Definition at line 130 of file ffitest.h.

## ◆ PRId8

#define PRId8 "d"

Definition at line 128 of file ffitest.h.

## ◆ PRIdLL

#define PRIdLL "lld"

Definition at line 70 of file ffitest.h.

## ◆ PRIu64

#define PRIu64 "I64u"

Definition at line 129 of file ffitest.h.

## ◆ PRIu8

#define PRIu8 "u"

Definition at line 127 of file ffitest.h.

## ◆ PRIuLL

#define PRIuLL "llu"

Definition at line 71 of file ffitest.h.

## ◆ PRIuPTR

#define PRIuPTR "lu"

Definition at line 126 of file ffitest.h.