Nu Class Reference

NuBridgedConstant

The Nu wrapper for imported C constants.

Superclass: NSObject
Declared in: objc/Nu.h

This class can be used to import constants defined in C code. The signature string used to import a constant must be a valid Objective-C type signature.

Methods

+ (id) constantWithName: (NSString *) name
signature: (NSString *) signature
Look up the value of a constant with specified name and type. The function is looked up using the dlsym() function. The returned value is of the type specified by the signature argument.

in objc/Nu.h