mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-17 01:41:06 +00:00
9143833fc8
No, seriously. Adds widescreen aware rotatesprite and works out half a dozen huge problems in the sound system, among other things. git-svn-id: https://svn.eduke32.com/eduke32@1658 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__ */
|
|
|