GCC Middle and Back End API Reference
cl_option_handlers Struct Reference

#include <opts.h>

Collaboration diagram for cl_option_handlers:

Data Fields

bool(* unknown_option_callback )(const struct cl_decoded_option *decoded)
 
void(* wrong_lang_callback )(const struct cl_decoded_option *decoded, unsigned int lang_mask)
 
void(* target_option_override_hook )(void)
 
size_t num_handlers
 
struct cl_option_handler_func handlers [3]
 

Detailed Description

Structure describing the callbacks used in handling options.   

Field Documentation

◆ handlers

◆ num_handlers

size_t cl_option_handlers::num_handlers

◆ target_option_override_hook

void(* cl_option_handlers::target_option_override_hook) (void)

◆ unknown_option_callback

bool(* cl_option_handlers::unknown_option_callback) (const struct cl_decoded_option *decoded)

◆ wrong_lang_callback

void(* cl_option_handlers::wrong_lang_callback) (const struct cl_decoded_option *decoded, unsigned int lang_mask)

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