You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: substratevm/src/org.graalvm.polyglot.nativeapi/src/org/graalvm/polyglot/nativeapi/PolyglotNativeAPI.java
+9-3Lines changed: 9 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -467,7 +467,7 @@ public static PolyglotStatus poly_context_close(PolyglotIsolateThread thread, Po
467
467
" @param language_id the language identifier.",
468
468
" @param name_utf8 given to the evaluate source code.",
469
469
" @param source_utf8 the source code to be evaluated.",
470
-
" @param result <code>poly_value</code> that is the result of the evaluation.",
470
+
" @param result <code>poly_value</code> that is the result of the evaluation. You can pass <code>NULL</code> if you just want to evaluate the source and you can ignore the result.",
471
471
" @return poly_ok if all works, poly_generic_error if there is a failure.",
472
472
" @see org::graalvm::polyglot::Context::eval",
473
473
" @since 19.0",
@@ -481,7 +481,10 @@ public static PolyglotStatus poly_context_eval(PolyglotIsolateThread thread, Pol
@@ -570,6 +573,7 @@ public static PolyglotStatus poly_value_can_execute(PolyglotIsolateThread thread
570
573
" @param value to be executed.",
571
574
" @param args array of poly_value.",
572
575
" @param args_size length of the args array.",
576
+
" @param result <code>poly_value</code> that is the result of the execution. You can pass <code>NULL</code> if you just want to execute the source and you can ignore the result.",
573
577
" @return poly_ok if all works, poly_generic_error if the underlying context was closed, if a wrong ",
574
578
" number of arguments was provided or one of the arguments was not applicable, if this value cannot be executed,",
575
579
" and if a guest language error occurred during execution.",
@@ -587,7 +591,9 @@ public static PolyglotStatus poly_value_execute(PolyglotIsolateThread thread, Po
0 commit comments