duktape 1.3.0.2 → 1.3.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/ext/duktape/duktape_ext.c +6 -1
- data/lib/duktape/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dfb55cc84a3ff20a35c960423f771f25af235e9a
|
4
|
+
data.tar.gz: 90ab8eff7225fcc75c88e841b0708e09c347c17b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88511747eb9bb7baaa33961e64ee0f715893c77e21c1deb1886a05ba6de7b4d890697df412a8c1d14a8a5af4965c118d40ec885efaea9f7eb565f565f7d80788
|
7
|
+
data.tar.gz: 19f63d599040622a841fac73843d92a377e9e6cfcadf62ef42077aaf999d853b5f07149b328e6601d2a23b20ae19d3d281af980fa64ded1b087efe264e7d9050
|
data/CHANGELOG.md
CHANGED
data/ext/duktape/duktape_ext.c
CHANGED
@@ -588,7 +588,12 @@ static VALUE ctx_complex_object(VALUE self)
|
|
588
588
|
|
589
589
|
void Init_duktape_ext()
|
590
590
|
{
|
591
|
-
|
591
|
+
int one = 1;
|
592
|
+
if (*(char*)(&one) == 1) {
|
593
|
+
utf16enc = rb_enc_find("UTF-16LE");
|
594
|
+
} else {
|
595
|
+
utf16enc = rb_enc_find("UTF-16BE");
|
596
|
+
}
|
592
597
|
id_complex_object = rb_intern("complex_object");
|
593
598
|
|
594
599
|
mDuktape = rb_define_module("Duktape");
|
data/lib/duktape/version.rb
CHANGED