class Bindgen::Cpp::BoehmGcCCookbook

Overview

Cookbook for the C language using Boehm-GC for memory management.

Configuration name is boehmgc-c, aliased as c for convenience.

References are supported, although they shouldn't occur.

Defined in:

bindgen/cpp/cookbook.cr

Instance Method Summary

Instance methods inherited from class Bindgen::Cpp::BareCCookbook

constructor_name(method_name : String, class_name : String) : String constructor_name, pointer_to_reference(type : String) : String | Nil pointer_to_reference, pointer_to_value(type : String) : String | Nil pointer_to_value, reference_to_pointer(type : String) : String | Nil reference_to_pointer, reference_to_value(type : String) : String | Nil reference_to_value, value_to_pointer(type : String) : String | Nil value_to_pointer, value_to_reference(type : String) : String | Nil value_to_reference

Instance methods inherited from class Bindgen::Cpp::Cookbook

constructor_name(method_name : String, class_name : String) : String constructor_name, find(base_name : String, is_reference, is_pointer, pass_by : TypeDatabase::PassBy) : Template::Base
find(type : Parser::Type, pass_by : TypeDatabase::PassBy) : Template::Base
find
, pointer_to_reference(type : String) : String | Nil pointer_to_reference, pointer_to_value(type : String) : String | Nil pointer_to_value, reference_to_pointer(type : String) : String | Nil reference_to_pointer, reference_to_value(type : String) : String | Nil reference_to_value, value_to_pointer(type : String) : String | Nil value_to_pointer, value_to_reference(type : String) : String | Nil value_to_reference

Constructor methods inherited from class Bindgen::Cpp::Cookbook

create_by_name(name) : Cookbook create_by_name

Instance Method Detail

def value_to_pointer(type : String) : String | Nil #
Description copied from class Bindgen::Cpp::Cookbook

Provides a template to convert a value to a pointer.


[View source]