Skip to content

class Crystal::External
inherits Crystal::Def

Class methods

.new(name : String, args : Array(Arg), body, real_name : String)

View source

Methods

#call_convention : LLVM::CallConvention?

View source

#call_convention=(call_convention : LLVM::CallConvention?)

View source

#compatible_with?(other)

View source

#dead=(dead)

View source

#dead? : Bool

View source

#fun_def : FunDef

#fun_def=(fun_def : FunDef)

View source

#fun_def? : FunDef?

#hash(hasher)

View source

#mangled_name(program, obj_type)

View source

#real_name : String

View source

#real_name=(real_name : String)

View source

#thread_local=(thread_local)

An External is also used to represent external variables such as libc's $errno, which can be annotated with @[ThreadLocal]. This property is true in that case.

View source

#thread_local? : Bool

An External is also used to represent external variables such as libc's $errno, which can be annotated with @[ThreadLocal]. This property is true in that case.

View source

#used=(used)

View source

#used? : Bool

View source

#varargs=(varargs)

View source

#varargs? : Bool

View source