|
libyasm
|
Directive valparam parse helper structure. More...
#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. More... | |
| int(* | helper )(void *obj, yasm_valparam *vp, unsigned long line, void *data, uintptr_t arg) |
| Helper callback function if name and parameter existence match. More... | |
| size_t | off |
| Offset added to data pointer passed into yasm_dir_helper() before data pointer is given to yasm_dir_help.helper(). More... | |
| uintptr_t | arg |
| Argument to pass in as the arg parameter to yasm_dir_help.helper(). | |
Directive valparam parse helper structure.
Definition at line 242 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 |
Definition at line 260 of file valparam.h.
| int yasm_dir_help::needsparam |
1 if value requires parameter, 0 if it must not have a parameter.
Definition at line 249 of file valparam.h.
| 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 269 of file valparam.h.
1.8.3.1