|
YAC 3.21.0
Yet Another Coupler
|
Union for storing different callback function pointers. More...

Data Fields | |
| func_constructor | constructor |
| func_do_search | do_search |
| void * | ptr |
Union for storing different callback function pointers.
Allows storing either a constructor or do_search callback, or a generic pointer.
(Function pointers cannot safely cast to data pointer ("void*"). Casting into some other basic function pointers in order to avoid this union has caused issues in some special cases.)
Definition at line 125 of file interp_method_check.c.
| func_constructor callback_union::constructor |
Constructor callback function pointer
Definition at line 126 of file interp_method_check.c.
| func_do_search callback_union::do_search |
Do-search callback function pointer
Definition at line 127 of file interp_method_check.c.
| void* callback_union::ptr |
Generic pointer for lookup
Definition at line 128 of file interp_method_check.c.