RetroArch
lwp_queue.h
Go to the documentation of this file.
1 #ifndef __LWP_QUEUE_H__
2 #define __LWP_QUEUE_H__
3 
4 #include <gctypes.h>
5 
6 //#define _LWPQ_DEBUG
7 
8 #ifdef _LWPQ_DEBUG
9 extern int printk(const char *fmt,...);
10 #endif
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 typedef struct _lwpnode {
17  struct _lwpnode *next;
18  struct _lwpnode *prev;
19 } lwp_node;
20 
21 typedef struct _lwpqueue {
25 } lwp_queue;
26 
32 
33 #ifdef LIBOGC_INTERNAL
34 #include <libogc/lwp_queue.inl>
35 #endif
36 
37 #ifdef __cplusplus
38  }
39 #endif
40 
41 #endif
lwp_node * last
Definition: lwp_queue.h:24
void __lwp_queue_extract(lwp_node *)
Definition: lwp_queue.c:52
Definition: lwp_queue.h:21
Data type definitions.
Definition: lwp_queue.h:16
void __lwp_queue_append(lwp_queue *, lwp_node *)
Definition: lwp_queue.c:43
struct _lwpnode lwp_node
lwp_node * first
Definition: lwp_queue.h:22
struct _lwpnode * next
Definition: lwp_queue.h:17
struct _lwpqueue lwp_queue
void __lwp_queue_initialize(lwp_queue *, void *, u32, u32)
Definition: lwp_queue.c:6
void __lwp_queue_insert(lwp_node *, lwp_node *)
Definition: lwp_queue.c:61
struct _lwpnode * prev
Definition: lwp_queue.h:18
lwp_node * perm_null
Definition: lwp_queue.h:23
lwp_node * __lwp_queue_get(lwp_queue *)
Definition: lwp_queue.c:30
uint32_t u32
32bit unsigned integer
Definition: gctypes.h:19