misc/libphysfs/lzma/C/IStream.h
author Wuzzy <Wuzzy2@mail.ru>
Tue, 31 Oct 2017 19:27:23 +0100
changeset 12812 59cb9bd8331c
parent 12213 bb5522e88ab2
permissions -rw-r--r--
Fix Battialion script showing “Round 0” at start

/* IStream.h */

#ifndef __C_ISTREAM_H
#define __C_ISTREAM_H

#include "Types.h"

typedef struct _ISeqInStream
{
  HRes (*Read)(void *object, void *data, UInt32 size, UInt32 *processedSize);
} ISeqInStream;

typedef struct _ISzAlloc
{
  void *(*Alloc)(size_t size);
  void (*Free)(void *address); /* address can be 0 */
} ISzAlloc;

#endif