1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-09-19 16:45:06 +00:00
QB64-PE/internal/c/parts/audio/extras/libxmp-lite/memio.h

27 lines
465 B
C
Raw Normal View History

#ifndef LIBXMP_MEMIO_H
#define LIBXMP_MEMIO_H
#include <stddef.h>
2023-06-17 08:37:50 +00:00
#include "common.h"
typedef struct {
const unsigned char *start;
ptrdiff_t pos;
ptrdiff_t size;
2023-06-17 08:37:50 +00:00
int free_after_use;
} MFILE;
2023-06-17 08:37:50 +00:00
LIBXMP_BEGIN_DECLS
2023-06-17 08:37:50 +00:00
MFILE *mopen(const void *, long, int);
int mgetc(MFILE *stream);
size_t mread(void *, size_t, size_t, MFILE *);
int mseek(MFILE *, long, int);
long mtell(MFILE *);
int mclose(MFILE *);
int meof(MFILE *);
2023-06-17 08:37:50 +00:00
LIBXMP_END_DECLS
#endif