JSONRPC.h File Reference

Common header that include other headers of the framework. Contains useful macros too. More...

#import "JSONRPCService.h"
#import <Foundation/Foundation.h>
#import "JSONRPCService.h"

Go to the source code of this file.

Defines

#define mkArray(...)   [NSArray arrayWithObjects:__VA_ARGS__,nil]
 Commodity macro to create an NSArray with arbitrary number of objects.
#define mkDict(...)   [NSDictionary dictionaryWithObjectsAndKeys:__VA_ARGS__,nil]
 Commodity macro to create a NSDictionary with arbitrary number of key/value pairs. Parameters are listed in the order objectN,keyN.
#define mkInt(x)   [NSNumber numberWithInt:x]
 Commodity macro to create an NSNumber from an int.
#define mkFloat(x)   [NSNumber numberWithFloat:x]
 Commodity macro to create an NSNumber from a float.
#define rdInt(nsx)   [nsx intValue]
 Commodity macro to extract an int from an NSNumber.
#define rdFloat(nsx)   [nsx floatValue]
 Commodity macro to extract a float from an NSNumber.

Detailed Description

Common header that include other headers of the framework. Contains useful macros too.

Generated on Tue Mar 22 22:27:19 2011 for JSONRPC Framework by  doxygen 1.6.3