ScummVM API documentation
callbacks.h
Go to the documentation of this file.
1 
5 #ifndef __ENET_CALLBACKS_H__
6 #define __ENET_CALLBACKS_H__
7 
8 #include <stdlib.h>
9 
10 typedef struct _ENetCallbacks
11 {
12  void * (ENET_CALLBACK * malloc) (size_t size);
13  void (ENET_CALLBACK * free) (void * memory);
14  void (ENET_CALLBACK * no_memory) (void);
16 
21 extern void * enet_malloc (size_t);
22 extern void enet_free (void *);
23 
26 #endif /* __ENET_CALLBACKS_H__ */
27 
Definition: callbacks.h:10