Extended maintenance of Ruby versions 1.8.7 and 1.9.2 will end on July 31, 2014. Read more

In Files

  • fiddle/fiddle.c
  • fiddle/lib/fiddle.rb
  • fiddle/lib/fiddle/closure.rb
  • fiddle/lib/fiddle/function.rb

Class/Module Index [+]

Quicksearch

Fiddle

Public Class Methods

last_error() click to toggle source
 
               # File fiddle/lib/fiddle.rb, line 19
def self.last_error
  Thread.current[:__FIDDLE_LAST_ERROR__]
end
            
last_error=(error) click to toggle source
 
               # File fiddle/lib/fiddle.rb, line 23
def self.last_error= error
  Thread.current[:__DL2_LAST_ERROR__] = error
  Thread.current[:__FIDDLE_LAST_ERROR__] = error
end
            
win32_last_error() click to toggle source
 
               # File fiddle/lib/fiddle.rb, line 10
def self.win32_last_error
  Thread.current[:__FIDDLE_WIN32_LAST_ERROR__]
end
            
win32_last_error=(error) click to toggle source
 
               # File fiddle/lib/fiddle.rb, line 14
def self.win32_last_error= error
  Thread.current[:__FIDDLE_WIN32_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.

blog comments powered by Disqus