#include <valparam.h>
Public Types | |
| enum | yasm_directive_flags { YASM_DIR_ANY = 0, YASM_DIR_ARG_REQUIRED = 1, YASM_DIR_ID_REQUIRED = 2 } |
| Flags for pre-handler parameter checking. More... | |
Data Fields | |
| const char * | name |
| Directive name. | |
| const char * | parser |
| Parser keyword. | |
| void(* | handler )(yasm_object *object, yasm_valparamhead *valparams, yasm_valparamhead *objext_valparams, unsigned long line) |
| Handler callback function for the directive. | |
| enum yasm_directive::yasm_directive_flags | flags |
| Flags for pre-handler parameter checking. | |
Definition at line 73 of file valparam.h.
Flags for pre-handler parameter checking.
| YASM_DIR_ANY | Any valparams accepted. |
| YASM_DIR_ARG_REQUIRED | Require at least 1 valparam. |
| YASM_DIR_ID_REQUIRED | First valparam must be ID. |
Definition at line 92 of file valparam.h.
| const char* yasm_directive::name |
Directive name.
GAS directives should include the ".", NASM directives should just be the raw name (not including the []). NULL entry required to terminate list of directives.
Definition at line 78 of file valparam.h.
| void(* yasm_directive::handler)(yasm_object *object, yasm_valparamhead *valparams, yasm_valparamhead *objext_valparams, unsigned long line) |
Handler callback function for the directive.
| object | object | |
| valparams | value/parameters | |
| objext_valparams | object format-specific value/parameters | |
| line | virtual line (from yasm_linemap) |
Flags for pre-handler parameter checking.
1.5.2