mirror of https://github.com/svaarala/duktape.git
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.
16 lines
295 B
16 lines
295 B
=proto
|
|
void duk_compile_file(duk_context *ctx, int flags, const char *path);
|
|
|
|
=stack
|
|
[ ... ] -> [ ... function! ]
|
|
|
|
=summary
|
|
<p>Like
|
|
<tt><a href="#duk_compile">duk_compile()</a></tt>, but the compile input
|
|
is given as a filename.</p>
|
|
|
|
=example
|
|
duk_compile_file(ctx, 0, "test.js");
|
|
|
|
=tags
|
|
compile
|
|
|