RetroArch
deps
7zip
7zBuf.h
Go to the documentation of this file.
1
/* 7zBuf.h -- Byte Buffer
2
2009-02-07 : Igor Pavlov : Public domain */
3
4
#ifndef __7Z_BUF_H
5
#define __7Z_BUF_H
6
7
#include "
7zTypes.h
"
8
9
#ifdef __cplusplus
10
extern
"C"
{
11
#endif
12
13
typedef
struct
14
{
15
uint8_t
*
data
;
16
size_t
size
;
17
}
CBuf
;
18
19
void
Buf_Init
(
CBuf
*
p
);
20
int
Buf_Create
(
CBuf
*
p
,
size_t
size
,
ISzAlloc
*alloc);
21
void
Buf_Free
(
CBuf
*
p
,
ISzAlloc
*alloc);
22
23
#ifdef __cplusplus
24
}
25
#endif
26
27
#endif
ISzAlloc
Definition:
7zTypes.h:162
Buf_Init
void Buf_Init(CBuf *p)
Definition:
7zBuf.c:9
CBuf::data
uint8_t * data
Definition:
7zBuf.h:15
size
GLsizeiptr size
Definition:
glext.h:6559
CBuf::size
size_t size
Definition:
7zBuf.h:16
Buf_Free
void Buf_Free(CBuf *p, ISzAlloc *alloc)
Definition:
7zBuf.c:32
p
GLfloat GLfloat p
Definition:
glext.h:9809
7zTypes.h
uint8_t
unsigned char uint8_t
Definition:
stdint.h:124
CBuf
Definition:
7zBuf.h:13
Buf_Create
int Buf_Create(CBuf *p, size_t size, ISzAlloc *alloc)
Definition:
7zBuf.c:15
Generated by
1.8.15