module Bindgen::Template
Overview
Conversion templates for Call::Result
. They govern how a call result's
code should be transformed to become usable under a certain platform.
Defined in:
bindgen/template.crbindgen/template/base.cr
bindgen/template/basic.cr
bindgen/template/none.cr
bindgen/template/proc_from_wrapper.cr
bindgen/template/sequence.cr
Class Method Summary
-
.from_string(pattern : String | Nil, *, simple = false) : Base
Constructs a template from the string pattern.
Class Method Detail
Constructs a template from the string pattern. No-op if the pattern
is nil
. If simple is true, the resulting template does not support
environment variables.