Re: Embind registrations for 64 bit types

2016-03-10 Thread arnab choudhury
Looks like the real underlying problem is that there is no typed array support for 64 bit integral types: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays - Emscripten hence doesn't have a typed array view for 64 bit integral types. There is hence no corresponding Embind

Re: Embind registrations for 64 bit types

2016-03-09 Thread arnab choudhury
It looks like _embind_register_float may do the trick - although I wonder if I can use that for 64 bit integral types (e.g. unsigned long long). On Wednesday, March 9, 2016 at 5:57:04 PM UTC-8, arnab choudhury wrote: > > Hey guys > > Embind doesn't seem to have implicit registrations for native

Embind registrations for 64 bit types

2016-03-09 Thread arnab choudhury
Hey guys Embind doesn't seem to have implicit registrations for native C++ types that are 64 bits (e.g. unsigned long long). Anyone else run into this? I could call _embind_register_integer, but that ends up truncating the maximum range of the type. Is there any known workaround for this?