misc/libphysfs/lzma/C/IStream.h
author Wuzzy <Wuzzy2@mail.ru>
Sat, 01 Sep 2018 23:03:56 +0200
changeset 13740 8092b54ba19d
parent 12218 bb5522e88ab2
permissions -rw-r--r--
Check for victory before stTurnReact. Fixes 382

/* 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