class

Bindgen::Configuration::Macro

Inherits YAML::Serializable < Reference < Object

Configuration for a macro

Constructors

new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Source

Instance methods

destination

Destination Crystal-path

Source
destination=(destination : String)

Destination Crystal-path

Source
flags

Only used if mapping as enum: Treat as flags enum?

Source
flags=(flags : Bool)

Only used if mapping as enum: Treat as flags enum?

Source
map_as

How to map the macro

Source
map_as=(map_as : MapAs)

How to map the macro

Source
name

The name mapping. Can be left out.

Source
name=(name : String | Nil)

The name mapping. Can be left out.

Source
type

Only used if mapping as enum: C++ mapping type

Source
type=(type : String | Nil)

Only used if mapping as enum: C++ mapping type

Source

Nested types