big: Add workaround for DLL globals bug.

This commit is contained in:
Jeroen van Rijn
2021-08-14 13:51:17 +02:00
parent dc02566a84
commit 0db86a0638
6 changed files with 46 additions and 23 deletions
+3 -1
View File
@@ -26,7 +26,9 @@ PyRes :: struct {
@export test_initialize_constants :: proc "c" () -> (res: u64) {
context = runtime.default_context();
return u64(initialize_constants());
res = u64(initialize_constants());
//assert(MUL_KARATSUBA_CUTOFF >= 40);
return res;
}
@export test_error_string :: proc "c" (err: Error) -> (res: cstring) {