name: duk_pcompile_string proto: | duk_int_t duk_pcompile_string(duk_context *ctx, duk_uint_t flags, const char *src); stack: | [ ... ] -> [ ... function! ] (if success, return value == 0) [ ... ] -> [ ... err! ] (if failure, return value != 0) summary: |
Like
duk_pcompile()
, but the compile input
is given as a C string. The filename associated with the function is
automatically provided from the __FILE__
preprocessor define
of the caller.