Ruby: rb_method_cfunc_struct Struct Reference

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

Data Fields
rb_method_cfunc_struct Struct Reference

`#include <method.h>`

## Data Fields
VALUE(* | func )(ANYARGS)
VALUE(* | invoker )(VALUE recv, int argc, const VALUE *argv, VALUE(*func)(ANYARGS))
int | argc

## Detailed Description

Definition at line 139 of file method.h.

## Field Documentation

## ◆ argc

int rb_method_cfunc_struct::argc

Definition at line 142 of file method.h.

Referenced by rb_add_method_cfunc(), rb_method_definition_eq(), and rb_method_definition_set().

## ◆ func

VALUE(* rb_method_cfunc_struct::func) (ANYARGS)

Definition at line 140 of file method.h.

Referenced by rb_add_method_cfunc(), rb_method_definition_eq(), and rb_method_definition_set().

## ◆ invoker

VALUE(* rb_method_cfunc_struct::invoker) (VALUE recv, int argc, const VALUE *argv, VALUE(*func)(ANYARGS))

Definition at line 141 of file method.h.

The documentation for this struct was generated from the following file:

- method.h