mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-18 02:01:39 +00:00
1cc9d13ccf
Files moved but not modified. Changes to follow in a subsequent commit. You down with CPP? git-svn-id: https://svn.eduke32.com/eduke32@6055 1a8010ca-5511-0410-912e-c29ae57300e0
27 lines
522 B
C
27 lines
522 B
C
/**
|
|
@file callbacks.h
|
|
@brief ENet callbacks
|
|
*/
|
|
#ifndef __ENET_CALLBACKS_H__
|
|
#define __ENET_CALLBACKS_H__
|
|
|
|
#include <stdlib.h>
|
|
|
|
typedef struct _ENetCallbacks
|
|
{
|
|
void * (ENET_CALLBACK * malloc) (size_t size);
|
|
void (ENET_CALLBACK * free) (void * memory);
|
|
void (ENET_CALLBACK * no_memory) (void);
|
|
} ENetCallbacks;
|
|
|
|
/** @defgroup callbacks ENet internal callbacks
|
|
@{
|
|
@ingroup private
|
|
*/
|
|
extern void * enet_malloc (size_t);
|
|
extern void enet_free (void *);
|
|
|
|
/** @} */
|
|
|
|
#endif /* __ENET_CALLBACKS_H__ */
|
|
|