enum

Bindgen::Graph::Platform

Inherits Enum < Comparable < Value < Object

Target platforms. Used by Method#calls and PlatformSpecific.

Constants

Crystal = 0

Only for the Crystal processor

CrystalBinding = 1

Only for the CrystalBinding processor

Cpp = 2

Only for the C++ processor

Instance methods

as_flag

Returns this platform as flags type.

Source
cpp?

Returns true if this enum value equals Cpp

Source
crystal?

Returns true if this enum value equals Crystal

Source
crystal_binding?

Returns true if this enum value equals CrystalBinding

Source