Class Weave::Symbol
In: lib/weave.rb
ext/weave/weave.c
Parent: Object
RuntimeError WeaveException Symbol Library VERSION FFI Weave dot/f_3.png

please no

Methods

new  

Constants

RB_ARY_SORT = UINT2NUM((unsigned int)rb_ary_sort)

Attributes

sym  [RW] 

Public Class methods

Create a new symbol. If the memory address of the symbol is known, the Symbol can be created like so:

    s = Symbol.new addr

Since it‘s rather unlikly for you to know random memory addresses, the more reasonable usage is:

    s = Symbol.new library, symbol_name

where `library` is a `Weave::Library` and `symbol_name` is, well, the name of the symbol to load from the library.

[Validate]