ffi overhead bench

This commit is contained in:
Jarred Sumner
2022-05-03 02:11:59 -07:00
parent 8b1924f6c2
commit 91e96a8da8
10 changed files with 56 additions and 19 deletions

View File

@@ -418,7 +418,7 @@ pub const FFI = struct {
// var function
var return_type = ABIType.@"void";
if (value.get(global, "return_type")) |ret_value| brk: {
if (value.get(global, "returns")) |ret_value| brk: {
if (ret_value.isAnyInt()) {
const int = ret_value.toInt32();
switch (int) {