Class: FFI::Libav::AVIOInterruptCB

Inherits:
Struct
  • Object
show all
Defined in:
lib/ffi/libav.rb

Instance Method Summary collapse

Instance Method Details

#callbackObject



2324
2325
2326
# File 'lib/ffi/libav.rb', line 2324

def callback
  @callback
end

#callback=(cb) ⇒ Object



2320
2321
2322
2323
# File 'lib/ffi/libav.rb', line 2320

def callback=(cb)
  @callback = cb
  self[:callback] = @callback
end