You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
373 B

=proto
int duk_peval_file_noresult(duk_context *ctx, const char *path);
=stack
[ ... ] -> [ ... ]
=summary
<p>Like
<code><a href="#duk_peval_file">duk_peval_file()</a></code>, but leaves no
result on the value stack.</p>
=example
if (duk_peval_file_noresult(ctx, "test.js") != 0) {
printf("eval failed\n");
} else {
printf("eval successful\n");
}
=tags
compile