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
Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.
If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.
If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.
If you want to help improve the Ruby documentation, please visit Documenting-ruby.org.