LMMS
Loading...
Searching...
No Matches
blargg_source.h File Reference
#include <assert.h>

Go to the source code of this file.

Macros

#define require(expr)
#define debug_printf   (1) ? (void) 0 : blargg_dprintf_
#define check(expr)
#define RETURN_ERR(expr)
#define CHECK_ALLOC(ptr)
#define DEF_MIN_MAX(type)
#define byte   byte_
#define BLARGG_EXPORT
#define BLARGG_CHECK_ALLOC   CHECK_ALLOC
#define BLARGG_RETURN_ERR   RETURN_ERR

Typedefs

typedef unsigned char byte

Functions

static void blargg_dprintf_ (const char *,...)

Macro Definition Documentation

◆ BLARGG_CHECK_ALLOC

#define BLARGG_CHECK_ALLOC   CHECK_ALLOC

◆ BLARGG_EXPORT

#define BLARGG_EXPORT

◆ BLARGG_RETURN_ERR

#define BLARGG_RETURN_ERR   RETURN_ERR

◆ byte

#define byte   byte_

◆ check

#define check ( expr)
Value:
((void) 0)
#define void
Definition unzip.h:396

◆ CHECK_ALLOC

#define CHECK_ALLOC ( ptr)
Value:
do { if ( (ptr) == 0 ) return "Out of memory"; } while ( 0 )

◆ debug_printf

#define debug_printf   (1) ? (void) 0 : blargg_dprintf_

◆ DEF_MIN_MAX

#define DEF_MIN_MAX ( type)
Value:
static inline type min( type x, type y ) { if ( x < y ) return x; return y; }\
static inline type max( type x, type y ) { if ( y < x ) return x; return y; }
CAdPlugDatabase::CRecord::RecordType type
Definition adplugdb.cpp:93
int y
Definition inflate.c:1588
unsigned x[BMAX+1]
Definition inflate.c:1586
#define min(x, y)
Definition os.h:74
#define max(x, y)
Definition os.h:78

◆ require

#define require ( expr)
Value:
assert( expr )
assert(0)

◆ RETURN_ERR

#define RETURN_ERR ( expr)
Value:
do { \
blargg_err_t blargg_return_err_ = (expr); \
if ( blargg_return_err_ ) return blargg_return_err_; \
} while ( 0 )

Typedef Documentation

◆ byte

typedef unsigned char byte

Function Documentation

◆ blargg_dprintf_()

void blargg_dprintf_ ( const char * ,
... )
inlinestatic