class Bindgen::Configuration::Macro

Overview

Configuration for a macro

Included Modules

Defined in:

bindgen/configuration.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def destination : String #

Destination Crystal-path


[View source]
def destination=(destination : String) #

Destination Crystal-path


[View source]
def flags : Bool #

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


[View source]
def flags=(flags : Bool) #

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


[View source]
def map_as : MapAs #

How to map the macro


[View source]
def map_as=(map_as : MapAs) #

How to map the macro


[View source]
def name : String | Nil #

The name mapping. Can be left out.


[View source]
def name=(name : String | Nil) #

The name mapping. Can be left out.


[View source]
def type : String | Nil #

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


[View source]
def type=(type : String | Nil) #

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


[View source]