name: duk_peval_file proto: | duk_int_t duk_peval_file(duk_context *ctx, const char *path); stack: | [ ... ] -> [ ... result! ] (if success, return value == 0) [ ... ] -> [ ... err! ] (if failure, return value != 0) summary: |
Like
duk_peval()
, but the eval input
is given as a filename. The filename associated with the temporary
function created for the eval code is path
as is.