Change file names and add a macro to check when the code is inside the playuver

This commit is contained in:
jfmcarreira committed 2014-06-17 10:41:11 +01:00
1 parent 53fc0381a8
commit dda51b20ff
14 files changed
+31 -911

No files matched your search

+21
View File
@@ -49,6 +49,27 @@ typedef long long Int64;
typedef unsigned long long UInt64;
#endif
static inline void* mem_malloc( size_t nitems )
{
void *d;
if( ( d = malloc( nitems ) ) == NULL )
{
return NULL;
}
return d;
}
static inline void mem_free( void *ptr )
{
if( ptr != NULL )
{
free( ptr );
ptr = NULL;
}
}
static inline Void* xMallocMem( SizeT nitems )
{
Void *d;