RetroArch
Macros
cocoa_common.h File Reference
#include <Foundation/Foundation.h>
Include dependency graph for cocoa_common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define BOXSTRING(x)   [NSString stringWithUTF8String:x]
 
#define BOXINT(x)   [NSNumber numberWithInt:x]
 
#define BOXUINT(x)   [NSNumber numberWithUnsignedInt:x]
 
#define BOXFLOAT(x)   [NSNumber numberWithDouble:x]
 

Macro Definition Documentation

◆ BOXFLOAT

#define BOXFLOAT (   x)    [NSNumber numberWithDouble:x]

◆ BOXINT

#define BOXINT (   x)    [NSNumber numberWithInt:x]

◆ BOXSTRING

#define BOXSTRING (   x)    [NSString stringWithUTF8String:x]

◆ BOXUINT

#define BOXUINT (   x)    [NSNumber numberWithUnsignedInt:x]