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.
 
 
 
 
 
 

17 lines
377 B

=proto
void duk_compile_file(duk_context *ctx, int flags, const char *path);
=stack
[ ... ] -> [ ... function! ]
=summary
<p>Like
<code><a href="#duk_compile">duk_compile()</a></code>, but the compile input
is given as a filename. The filename associated with the result function
is <code>path</code> as is.</p>
=example
duk_compile_file(ctx, 0, "test.js");
=tags
compile