struct Bindgen::Crystal::Type

Overview

Conversion functionality for real Crystal types of any kind to another type by C++ name as defined by user configuration.

Defined in:

bindgen/crystal/type.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(db : TypeDatabase) #

[View source]

Instance Method Detail

def convert(value, type : Parser::Type) #

Converts the Crystal value to represent a type.


[View source]
def resolve_long(crystal_type) #

Resolves a LibC:: long type to this platforms long size.


[View source]