Commit 942785e2 authored by rswindell's avatar rswindell
Browse files

Moved JS-related constant definitions to here (from sbbs.h).

Added macro definitions for max branches and time-slice yield frequency.
parent aefdbe04
......@@ -63,6 +63,13 @@
#define BIND_FAILURE_HELP "!Another application or service may be using this port"
#ifdef JAVASCRIPT
#define JAVASCRIPT_MAX_BYTES (8*1024*1024)
#define JAVASCRIPT_CONTEXT_STACK (16*1024)
#define JAVASCRIPT_BRANCH_LIMIT 100000000
#define JAVASCRIPT_YIELD_FREQUENCY 10000
#endif
#ifndef __FLAT__
#define __FLAT__ /* 32-bit "flat" memory model */
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment