emscripten-core / emscripten-core/emscripten
Question: How to bind a values of type signed long long?
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Hello. I need to get/set values in vector of IntPoint, values type are signed long long. **For int type values everything works as expected**, but I couldn't make it work with signed long long, I got error: `BindingError: _emval_take_value has unknown type N10TestLib8IntPointE`
IntPoint struct:
```
struct IntPoint {
pInt X;
pInt Y;
pInt Z;
IntPoint(pInt x = 0, pInt y = 0, pInt z = 0): X(x), Y(y), Z(z) {};
};
```
pInt typedef:
`typedef signed long long pInt;`
Thanks in advance!
Contributor guide
Assessment
This issue has not been assessed yet.