Module: Libvirt::FFI::Common

Extended by:
FFI::Library, Helpers
Defined in:
lib/libvirt/ffi/common.rb

Constant Summary collapse

FREE_CALLBACK =

typedef void (*virFreeCallback) (

void * opaque

)

callback :virFreeCallback, [:pointer], :void

Class Method Summary collapse

Methods included from Helpers

callback_function

Class Method Details

.free_function(*args, &block) ⇒ Object



17
18
19
# File 'lib/libvirt/ffi/common.rb', line 17

def self.free_function(*args, &block)
  callback_function(FREE_CALLBACK, *args, &block)
end