#include <valparam.h>
Data Fields | |
| const char * | name |
| Value portion of val=param (if needsparam=1), or standalone identifier (if needsparam=0). | |
| int | needsparam |
| 1 if value requires parameter, 0 if it must not have a parameter. | |
| int(* | helper )(void *obj, yasm_valparam *vp, unsigned long line, void *data, uintptr_t arg) |
| Helper callback function if name and parameter existence match. | |
| size_t | off |
| Offset added to data pointer passed into yasm_dir_helper() before data pointer is given to yasm_dir_help.helper(). | |
| uintptr_t | arg |
| Argument to pass in as the arg parameter to yasm_dir_help.helper(). | |
Definition at line 246 of file valparam.h.
1 if value requires parameter, 0 if it must not have a parameter.
Definition at line 253 of file valparam.h.
| int(* yasm_dir_help::helper)(void *obj, yasm_valparam *vp, unsigned long line, void *data, uintptr_t arg) |
Helper callback function if name and parameter existence match.
| obj | obj passed into yasm_dir_helper() | |
| vp | value/parameter | |
| line | line passed into yasm_dir_helper() | |
| data | data passed into yasm_dir_helper() plus yasm_dir_help.off offset | |
| arg | yasm_dir_help.arg argument |
| size_t yasm_dir_help::off |
Offset added to data pointer passed into yasm_dir_helper() before data pointer is given to yasm_dir_help.helper().
This is so that a structure can be passed into yasm_dir_helper() and this can be an offsetof() to point the helper function to a specific structure member.
Definition at line 273 of file valparam.h.
1.5.2