Make the pipe headers C++ friendly.
This commit is contained in:
@@ -34,13 +34,13 @@
|
||||
#include <math.h>
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
{
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef WIN32
|
||||
|
||||
void * __stdcall
|
||||
EngAllocMem(
|
||||
unsigned long Flags,
|
||||
@@ -51,10 +51,6 @@ void __stdcall
|
||||
EngFreeMem(
|
||||
void *Mem );
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
static INLINE void *
|
||||
MALLOC( unsigned size )
|
||||
{
|
||||
@@ -379,4 +375,8 @@ extern void pipe_copy_rect(ubyte * dst, unsigned cpp, unsigned dst_pitch,
|
||||
int src_pitch, unsigned src_x, int src_y);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user