enum Bindgen::Graph::Platform

Overview

Target platforms. Used by Method#calls and PlatformSpecific.

Defined in:

bindgen/graph/platform.cr

Enum Members

Crystal = 0

Only for the Crystal processor

CrystalBinding = 1

Only for the CrystalBinding processor

Cpp = 2

Only for the C++ processor

Instance Method Summary

Instance Method Detail

def as_flag : Platforms #

Returns this platform as flags type.


[View source]
def cpp? #

Returns true if this enum value equals Cpp


[View source]
def crystal? #

Returns true if this enum value equals Crystal


[View source]
def crystal_binding? #

Returns true if this enum value equals CrystalBinding


[View source]