aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/gopkg.in/olebedev/go-duktape.v3/duk_module_duktape.h
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gopkg.in/olebedev/go-duktape.v3/duk_module_duktape.h')
-rwxr-xr-xvendor/gopkg.in/olebedev/go-duktape.v3/duk_module_duktape.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/vendor/gopkg.in/olebedev/go-duktape.v3/duk_module_duktape.h b/vendor/gopkg.in/olebedev/go-duktape.v3/duk_module_duktape.h
new file mode 100755
index 000000000..8c8808104
--- /dev/null
+++ b/vendor/gopkg.in/olebedev/go-duktape.v3/duk_module_duktape.h
@@ -0,0 +1,14 @@
+#if !defined(DUK_MODULE_DUKTAPE_H_INCLUDED)
+#define DUK_MODULE_DUKTAPE_H_INCLUDED
+
+#include "duktape.h"
+
+/* Maximum length of CommonJS module identifier to resolve. Length includes
+ * both current module ID, requested (possibly relative) module ID, and a
+ * slash in between.
+ */
+#define DUK_COMMONJS_MODULE_ID_LIMIT 256
+
+extern void duk_module_duktape_init(duk_context *ctx);
+
+#endif /* DUK_MODULE_DUKTAPE_H_INCLUDED */
n> * - Update to 1.0.2ehaupt2009-11-242-7/+9 * Change NO_CDROM to RESTRICTED to be safe. Some points of the icons LICENSEehaupt2009-11-231-4/+2