Creates a yield context object with the given callback function and data.
#include "huyield.h"
int hu_YieldCreate(hu_YieldFunc *yieldFunc, void *yieldData, sb_YieldCtx *yieldCtx, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
User-provided callback function.
User-defined data that will be passed to yieldFunc. (Optional - set to NULL if not required.)
Yield context object pointer.
Global context.
Context object pointer is NULL.
Yield function is NULL.
Memory allocation failure.
Success.