class
Bindgen::GlueReader
- Bindgen::GlueReader
- Reference
- Object
Overview
Reads glue-code from the assets/glue.cr file, for it to be inserted into
the generated .cr file.
Defined in:
bindgen/glue_reader.crConstant Summary
-
END_IF_MARKER =
"########## END IF ##########" -
IF_CPP_MARKER =
"########## IF CPP ##########" -
Lines between these markers need the C++ glue, and are left out of a binding without a
cppgenerator, like one of a C library. -
MARKER =
"########## SNIP ##########" -
PATH =
"/srv/crystaldoc.info/github-Papierkorb-bindgen-v0.16.2/src/bindgen/../../assets/glue.cr"
Class Method Summary
-
.read(cpp : Bool = true) : String
Returns the glue code from
PATH, skipping the header.