Method: Fiddle::Handle#close
- Defined in:
-
ext/fiddle/handle.c,
lib/fiddle/ffi_backend.rb
Close this handle.
Calling close more than once will raise a Fiddle::DLError exception.
70 71 72 73 74 |
# File 'ext/fiddle/handle.c', line 70 def close raise DLError.new("closed handle") unless @open @open = false 0 end |