mirror of
https://github.com/cesanta/mongoose.git
synced 2025-01-06 02:07:57 +08:00
6a3d01ee6b
PUBLISHED_FROM=cf49d0d345e4a7607c535f9578b8ed4160f2fccd
439 B
439 B
title | decl_name | symbol_kind | signature |
---|---|---|---|
mg_enable_javascript() | mg_enable_javascript | func | enum v7_err mg_enable_javascript(struct mg_mgr *m, struct v7 *v7, const char *init_js_file_name); |
Enable server-side JavaScript scripting.
Requires -DMG_ENABLE_JAVASCRIPT
compilation flag, and V7 engine sources.
v7 instance must not be destroyed during manager's lifetime.
Return V7 error.