File wfm_defaults.h¶
FileList > doppler > wfm > wfm_defaults.h
Go to the source code of this file
The non-zero field defaults of wfm_source_t andwfm_segment_t , as designated initializers.More...
Macros¶
| Type | Name |
|---|---|
| define | WFM_SEGMENT_DEFAULTS /* multi line expression */ |
| define | WFM_SOURCE_DEFAULTS /* multi line expression */ |
Detailed Description¶
wfm_defaults.h — GENERATED by scripts/gen_wfm_defaults.py
Do not edit. modules/wfm_compose.toml is the one declaration of a default; this is that declaration rendered for C, so the CLI, a C caller and Python cannot disagree about one (doppler#1142).
Only NON-ZERO defaults appear: a zero is what a zero-initialised struct already gives, and spelling it would say nothing.
An enum-valued default is rendered as the index of its name in the field's OWN declared [[enum]], with the name in a comment, so reordering that enum moves this file rather than silently changing what the value means.
Macro Definition Documentation¶
define WFM_SEGMENT_DEFAULTS¶
Non-zero defaults for a wfm_segment_t, as a braced designated initializer: wfm_segment_t x = WFM_SEGMENT_DEFAULTS;.
define WFM_SOURCE_DEFAULTS¶
Non-zero defaults for a wfm_source_t, as a braced designated initializer: wfm_source_t x = WFM_SOURCE_DEFAULTS;.
The documentation for this class was generated from the following file native/inc/doppler/wfm/wfm_defaults.h