Ver Fonte

forgot to commit HxOverrides changes for #3071

frabbit há 11 anos atrás
pai
commit
6569e77583
1 ficheiros alterados com 13 adições e 0 exclusões
  1. 13 0
      std/python/internal/HxOverrides.hx

+ 13 - 0
std/python/internal/HxOverrides.hx

@@ -31,9 +31,22 @@ class HxOverrides {
 		return if (s == null) "null" else s;
 	}
 
+
 	static public function shift(x) {
 		return Reflect.callMethod(null, Reflect.field(x, "shift"), []);
 	}
+	static public function pop(x) {
+		return Reflect.callMethod(null, Reflect.field(x, "pop"), []);
+	}
+
+	static public function push(x, e) {
+		return Reflect.callMethod(null, Reflect.field(x, "push"), [e]);
+	}
+
+	static public function join(x, e) {
+		return Reflect.callMethod(null, Reflect.field(x, "join"), [e]);
+	}
+
 	static public function toUpperCase(x) {
 		return Reflect.callMethod(null, Reflect.field(x, "toUpperCase"), []);
 	}