Extended maintenance of Ruby 1.9.3 ended on February 23, 2015. Read more
A reference to DL::CPtr
C type - char
C type - double
C type - float
C type - int
C type - long
C type - long long
C type - short
C type - void
C type - void*
Returns a boolean regarding whether the host is WIN32
Returns the last Error
of the current executing
Thread
or nil if none
# File fiddle/lib/fiddle.rb, line 25 def self.last_error Thread.current[:__FIDDLE_LAST_ERROR__] end
Sets the last Error
of the current executing
Thread
to error
# File fiddle/lib/fiddle.rb, line 30 def self.last_error= error Thread.current[:__DL2_LAST_ERROR__] = error Thread.current[:__FIDDLE_LAST_ERROR__] = error end