Transfer vector<int> from js to wasm and get vector<int> from wasm on web page
The post introduces two topics. My explore was based on the old project from What will happen if we pass wrong vtkRenderer object for vtkPicker::Pick?. Just see the important logics about our issue at the following diff file. vector.diff: Rememder use register_vector to export vector<int> and use it in js when Read more…