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

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

Data Structures | Typedefs | Functions
pyobjc-tc.c File Reference
`#include "ffitest.h"`

Go to the source code of this file.

## Data Structures
struct | Point
struct | Size
struct | Rect

## Typedefs
typedef struct Point | Point
typedef struct Size | Size
typedef struct Rect | Rect

## Functions
int | doit (int o, char *s, Point p, Rect r, int last)
int | main (void)

## Typedef Documentation

## ◆ Point

typedef struct Point Point

## ◆ Rect

typedef struct Rect Rect

## ◆ Size

typedef struct Size Size

## Function Documentation

## ◆ doit()

int doit | ( | int | o,
|  | char * | s,
|  | Point | p,
|  | Rect | r,
|  | int | last
| ) |  |

Definition at line 25 of file pyobjc-tc.c.

References Size::h, last, Rect::o, Rect::s, Size::w, Point::x, and Point::y.

Referenced by main().

## ◆ main()

int main | ( | void |  | ) |

Definition at line 33 of file pyobjc-tc.c.

References doit(), ffi_call(), FFI_DEFAULT_ABI, ffi_prep_cif(), Size::h, malloc, NULL, Rect::o, Rect::s, Size::w, Point::x, and Point::y.