blueloveTH 3 years ago
parent
commit
a324d7e099
5 changed files with 298 additions and 318 deletions
  1. 1 1
      amalgamate.py
  2. 291 315
      plugins/flutter/src/pocketpy.h
  3. 1 1
      plugins/godot/godot-cpp
  4. 0 1
      src/__stl__.h
  5. 5 0
      src/hash_table8.hpp

+ 1 - 1
amalgamate.py

@@ -2,7 +2,7 @@ with open("src/opcodes.h", "rt", encoding='utf-8') as f:
 	OPCODES_TEXT = f.read()
 
 pipeline = [
-	["__stl__.h", "memory.h", "str.h", "hash_table8.hpp", "safestl.h", "builtins.h", "error.h"],
+	["hash_table8.hpp", "__stl__.h", "memory.h", "str.h", "safestl.h", "builtins.h", "error.h"],
 	["obj.h", "iter.h", "parser.h", "pointer.h", "codeobject.h"],
 	["vm.h", "compiler.h", "repl.h"],
 	["pocketpy.h"]

File diff suppressed because it is too large
+ 291 - 315
plugins/flutter/src/pocketpy.h


+ 1 - 1
plugins/godot/godot-cpp

@@ -1 +1 @@
-Subproject commit ed849abe8ed709eb7e378d39f4b8709e4ff9667f
+Subproject commit 484bb4f281a60bda5ccb121b753b05fa4deead60

+ 0 - 1
src/__stl__.h

@@ -23,7 +23,6 @@
 #include <atomic>
 #include <iostream>
 
-#define EMH_WYHASH_HASH 1
 #include "hash_table8.hpp"
 
 #ifdef POCKETPY_H

+ 5 - 0
src/hash_table8.hpp

@@ -25,6 +25,11 @@
 
 #pragma once
 
+// Modification:
+// 1. Add #define EMH_WYHASH_HASH 1
+// 2. Add static for wymix
+#define EMH_WYHASH_HASH 1
+
 #include <cstring>
 #include <string>
 #include <cstdlib>

Some files were not shown because too many files changed in this diff