Sha256: 155fced5b35ea64bcfdafdac022927e1ca17326cbd99e7846f04bba0d8254543
Contents?: true
Size: 494 Bytes
Versions: 13
Compression:
Stored size: 494 Bytes
Contents
# frozen_string_literal: true module Libvirt module FFI module Common # https://libvirt.org/html/libvirt-libvirt-common.html extend ::FFI::Library extend Helpers ffi_lib Util.library_path # typedef void (*virFreeCallback) ( # void * opaque # ) FREE_CALLBACK = callback :virFreeCallback, [:pointer], :void def self.free_function(*args, &block) callback_function(FREE_CALLBACK, *args, &block) end end end end
Version data entries
13 entries across 13 versions & 1 rubygems