class Bindgen::Template::ProcFromWrapper

Overview

Custom template to transform Procs for Crystal wrapper types into Proc expressions for binding types.

Defined in:

bindgen/template/proc_from_wrapper.cr

Constructors

Instance Method Summary

Instance methods inherited from class Bindgen::Template::Base

followed_by(other : Base) : Base followed_by, no_op? : Bool no_op?, template(code : String) : String template

Constructor Detail

def self.new(proc_type : Parser::Type, db : TypeDatabase) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


[View source]
def no_op? : Bool #
Description copied from class Bindgen::Template::Base

Is this a no-operation template?


[View source]
def template(code) : String #

[View source]