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

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

Data Structures | Typedefs | Functions
testclosure.c File Reference
`#include "ffitest.h"`

Go to the source code of this file.

## Data Structures
struct | cls_struct_combined

## Typedefs
typedef struct cls_struct_combined | cls_struct_combined

## Functions
void | cls_struct_combined_fn (struct cls_struct_combined arg)
int | main (void)

## Typedef Documentation

## ◆ cls_struct_combined

typedef struct cls_struct_combined cls_struct_combined

## Function Documentation

## ◆ cls_struct_combined_fn()

void cls_struct_combined_fn | ( | struct cls_struct_combined | arg | ) |

Definition at line 17 of file testclosure.c.

References cls_struct_combined::a, cls_struct_combined::b, cls_struct_combined::c, and cls_struct_combined::d.

## ◆ main()

int main | ( | void |  | ) |

Definition at line 37 of file testclosure.c.

References CHECK, FFI_DEFAULT_ABI, ffi_prep_cif(), ffi_prep_closure_loc(), ffi_type_void, and NULL.