Update
This commit is contained in:
@ -48,7 +48,11 @@ class Boot {
|
||||
i += 1;
|
||||
}
|
||||
e.__string = old;
|
||||
#if haxe_next
|
||||
return NativeString.ofString(s + untyped ")".__s);
|
||||
#else
|
||||
return s + untyped ")".__s;
|
||||
#end
|
||||
}
|
||||
|
||||
private static function __interfLoop(cc:Dynamic, cl:Dynamic) {
|
||||
@ -108,15 +112,14 @@ class Boot {
|
||||
}
|
||||
}
|
||||
|
||||
private static function __tagserialize(o:Dynamic)
|
||||
untyped {
|
||||
var n = o.__enum__.__ename__;
|
||||
var x = __dollar__amake(n.length + 1);
|
||||
for (i in 0...n.length)
|
||||
x[i] = n[i].__s;
|
||||
x[n.length] = o.tag;
|
||||
return x;
|
||||
}
|
||||
private static function __tagserialize(o:Dynamic) untyped {
|
||||
var n = o.__enum__.__ename__;
|
||||
var x = __dollar__amake(n.length + 1);
|
||||
for (i in 0...n.length)
|
||||
x[i] = n[i].__s;
|
||||
x[n.length] = o.tag;
|
||||
return x;
|
||||
}
|
||||
|
||||
private static function __unserialize(v:Dynamic) {
|
||||
untyped {
|
||||
@ -125,7 +128,7 @@ class Boot {
|
||||
for (i in 0...__dollar__asize(v))
|
||||
if (__dollar__typeof(v[i]) != __dollar__tstring)
|
||||
throw "Invalid serialized class data";
|
||||
var cl = neko.Boot.__classes;
|
||||
var cl:Dynamic = neko.Boot.__classes;
|
||||
for (i in 0...__dollar__asize(v)) {
|
||||
cl = __dollar__objget(cl, __dollar__hash(v[i]));
|
||||
if (cl == null)
|
||||
|
||||
Reference in New Issue
Block a user