nsgenbind
Loading...
Searching...
No Matches
Classes | Macros | Enumerations | Variables
options.h File Reference

Go to the source code of this file.

Classes

struct  options
 

Macros

#define WARNING_ALL   (WARNING_UNIMPLEMENTED | WARNING_DUPLICATED | WARNING_WEBIDL)
 
#define WARN(flags, msg, args...)
 

Enumerations

enum  opt_warnings { WARNING_UNIMPLEMENTED = 1 , WARNING_DUPLICATED = 2 , WARNING_WEBIDL = 4 , WARNING_GENERATED = 8 }
 

Variables

struct optionsoptions
 

Macro Definition Documentation

◆ WARN

#define WARN (   flags,
  msg,
  args... 
)
Value:
do { \
if ((options->warnings & flags) != 0) { \
fprintf(stderr, "%s: warning: "msg"\n", __func__, ## args); \
} \
} while(0)
unsigned int warnings
Definition options.h:23

Definition at line 37 of file options.h.

◆ WARNING_ALL

Definition at line 35 of file options.h.

Enumeration Type Documentation

◆ opt_warnings

Enumerator
WARNING_UNIMPLEMENTED 
WARNING_DUPLICATED 
WARNING_WEBIDL 
WARNING_GENERATED 

Definition at line 28 of file options.h.

Variable Documentation

◆ options

struct options* options
extern

Definition at line 25 of file nsgenbind.c.