Class: Gsf::InputStdio

Inherits:
Input
  • Object
show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from Input

#container, #container=, #copy, #dump, #dup, #eof, #eof=, #eof?, error_id, #find_vba, #modtime, #modtime=, #modtime_from_stat=, #name, #name=, #name_from_filename=, #position, #position=, #read, #read0, #read_raw, #remaining, #remaining=, #seek, #seek_emulate, #sibling, #size, #size=, #tell, #uncompress

Constructor Details

#initialize(filename, file, keep_open) ⇒ Gsf::Input

Assumes ownership of file when succeeding. If keep_open is true, ownership reverts to caller when the Gsf::Input is closed.

Parameters:

  • filename (String)

    The filename corresponding to file.

  • file (GObject)

    an existing stdio FILE *

  • keep_open (Boolean)

    Should file be closed when the wrapper is closed