Passing data to C-style interface

If you write a primitive operator in C++, use this code as an example of how to pass data to C-style interfaces.

Cast int8 * to char * and pass pointer to C interface.
int8 * data_start = & myList[0];
char * data = static_cast<char *>(data);
size_t length = myList.size();
InterfaceFunction(data,length);