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? #

[View source]
def crystal? #

[View source]
def crystal_binding? #

[View source]