PageRenderTime 34ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 0ms

/freeimage/IOHandler.ooc

http://github.com/tsion/ooc-freeimage
Unknown | 11 lines | 9 code | 2 blank | 0 comment | 0 complexity | 24f75b1523d38939acf1591f019c01e4 MD5 | raw file
  1. use freeimage
  2. import io/FileReader
  3. IOHandler: cover from FreeImageIO {
  4. read_proc: extern Func (Pointer, UInt, UInt, FStream) -> UInt
  5. write_proc: extern Func (Pointer, UInt, UInt, FStream) -> UInt
  6. seek_proc: extern Func (FStream, Long, Int) -> Int
  7. tell_proc: extern Func (FStream) -> Long
  8. init: func@ (=read_proc, =write_proc, =seek_proc, =tell_proc) {}
  9. }