hi,
I'm trying to write a C code above BrightScript using the Roku BNI interface. However, the documentation of this layer is not very clear, and way it is mapped to the BrightScript calls is a bit vague.
For example, according to 'bni.h', my C code should call 'RokuBNI_createObject' that will be mapped to 'CreateObject() '. This is the prototype:
int RokuBNI_createObject(const char * obj_type,
RokuBNI_Object *params[], int num_params,
RokuBNI_Object **ret);
So what is the function returning? The object itself? if so, what is returned in 'ret'? are params[] and num_params optional, like in 'CreateObject() '?
any help will be appreciated!
Thanks
Ugi