Prototype duplication fixes; split out engine.js into multiple components

This commit is contained in:
2023-09-07 21:46:35 +00:00
parent acecf2fde9
commit a4111b01a5
17 changed files with 1379 additions and 1367 deletions

View File

@@ -18,7 +18,6 @@ extern JSValue num_cache[100];
void js_stacktrace();
void script_startup();
void script_run(const char *script, const char *file);
JSValue script_compile(const char *file);
void script_evalf(const char *format, ...);
int script_dofile(const char *file);
JSValue script_runfile(const char *file);
@@ -34,7 +33,7 @@ void script_call_sym(JSValue sym);
void call_callee(struct callee *c);
void script_callee(struct callee c, int argc, JSValue *argv);
int script_has_sym(void *sym);
void script_eval_w_env(const char *s, JSValue env);
void script_eval_w_env(const char *s, JSValue env, const char *file);
void file_eval_env(const char *file, JSValue env);
time_t file_mod_secs(const char *file);