mirror of
https://github.com/libretro/RetroArch.git
synced 2024-12-03 05:40:56 +00:00
6904101c44
== DETAILS Really simple code cleanup, because my editor flags trailing whitespaces and it's pretty annoying.
28 lines
387 B
C
28 lines
387 B
C
/* 7zBuf.h -- Byte Buffer
|
|
2009-02-07 : Igor Pavlov : Public domain */
|
|
|
|
#ifndef __7Z_BUF_H
|
|
#define __7Z_BUF_H
|
|
|
|
#include "7zTypes.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct
|
|
{
|
|
uint8_t *data;
|
|
size_t size;
|
|
} CBuf;
|
|
|
|
void Buf_Init(CBuf *p);
|
|
int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc);
|
|
void Buf_Free(CBuf *p, ISzAlloc *alloc);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|