leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00186
Re: [Question #249862]: Setting value pointed to by unsigned char*
Question #249862 on Duetto changed:
https://answers.launchpad.net/duetto/+question/249862
Status: Answered => Open
ben layet is still having a problem:
I tried editing the compiled JS and found that changing -1 to 255 does
change the runtime behaviour.
Actually if you run the following JS and inspect the array, then you see ta[0] is 0 and ta[1] is 255.
var ta = new Uint8ClampedArray(4);
ta[0] = -1;
ta[1] = 255;
Maybe some of the other typed arrays behave differently - but it doesn't
work for this type.
ben
--
You received this question notification because you are a member of
Leaningtech Team, which is an answer contact for Duetto.