Skip to content

Commit 74f10ec

Browse files
committed
update polyglot C api call
1 parent 10fa9eb commit 74f10ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1433,7 +1433,8 @@ def run_shared_lib_test(home, args=()):
14331433
}
14341434
14351435
poly_engine_builder engine_builder;
1436-
status = poly_create_engine_builder(isolate_thread, &engine_builder);
1436+
const char* permitted_languages[] = {"python"};
1437+
status = poly_create_engine_builder(isolate_thread, permitted_languages, 1, &engine_builder);
14371438
if (status != poly_ok) {
14381439
return status;
14391440
}

0 commit comments

Comments
 (0)