name: duk_peval_lstring proto: | duk_int_t duk_peval_lstring(duk_context *ctx, const char *src, duk_size_t len); 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 C string with explicit length. The filename associated with the
temporary eval function is "eval"
.