Ruby: ext/fiddle/libffi-3.2.1/testsuite/libffi.call/cls_multi_ushort.c File Reference

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

Typedefs | Functions
cls_multi_ushort.c File Reference
`#include "ffitest.h"`

Go to the source code of this file.

## Typedefs
typedef unsigned short(* | test_type) (unsigned short, unsigned short)

## Functions
unsigned short | test_func_fn (unsigned short a1, unsigned short a2)
int | main (void)

## Typedef Documentation

## ◆ test_type

typedef unsigned short(* test_type) (unsigned short, unsigned short)

Definition at line 34 of file cls_multi_ushort.c.

## Function Documentation

## ◆ main()

int main | ( | void |  | ) |

Definition at line 36 of file cls_multi_ushort.c.

References CHECK, ffi_call(), FFI_DEFAULT_ABI, ffi_prep_cif(), ffi_prep_closure_loc(), NULL, and test_func_fn().

## ◆ test_func_fn()

unsigned short test_func_fn | ( | unsigned short | a1,
|  | unsigned short | a2
| ) |  |

Definition at line 10 of file cls_multi_ushort.c.

Referenced by main().