module Bindgen::Variables
Overview
Helper containing the default configuration variables.
These include:
- Everything in
ENV
verbatim. architecture
one ofaarch64
,arm
,armhf
,i686
,x86_64
os
one ofdarwin
,freebsd
,linux
,openbsd
,unix
,windows
libc
one ofgnu
,musl
pointersize
one of32
,64
endian
one ofbig
,little
When requiring bindgen
, e.g. to enhance it with custom processors, you
can add custom defaults by modifying .builtin
directly. This has to be
done early, before the configuration file itself is read.
Defined in:
bindgen/variables.crClass Method Summary
-
.build(additional = nil) : ConfigReader::VariableHash
Returns a hash of variables for a
Parser
. -
.builtin
Built-in variables.
Class Method Detail
Returns a hash of variables for a Parser
.