First param isn't number of elements any more.
Now we just pass the data to C++.
Updating function to change altered API.