RetroArch
|
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <retro_common_api.h>
#include <retro_inline.h>
Go to the source code of this file.
Classes | |
struct | fifo_buffer |
Typedefs | |
typedef struct fifo_buffer | fifo_buffer_t |
Functions | |
fifo_buffer_t * | fifo_new (size_t size) |
static INLINE void | fifo_clear (fifo_buffer_t *buffer) |
void | fifo_write (fifo_buffer_t *buffer, const void *in_buf, size_t size) |
void | fifo_read (fifo_buffer_t *buffer, void *in_buf, size_t size) |
static INLINE void | fifo_free (fifo_buffer_t *buffer) |
static INLINE size_t | fifo_read_avail (fifo_buffer_t *buffer) |
static INLINE size_t | fifo_write_avail (fifo_buffer_t *buffer) |
typedef struct fifo_buffer fifo_buffer_t |
|
static |
|
static |
fifo_buffer_t* fifo_new | ( | size_t | size | ) |
void fifo_read | ( | fifo_buffer_t * | buffer, |
void * | in_buf, | ||
size_t | size | ||
) |
|
static |
void fifo_write | ( | fifo_buffer_t * | buffer, |
const void * | in_buf, | ||
size_t | size | ||
) |
|
static |