Skip to content

Instantly share code, notes, and snippets.

View Geequlim's full-sized avatar

Geequlim Geequlim

View GitHub Profile
@Geequlim
Geequlim / History\-1026101a\ApNs.json
Last active April 19, 2022 12:57
Visual Studio Code Settings Sync Gist
{
"name":"layaApp",
"version":"1.0.1",
"devUpdateUrl":"",
"updateUrl":"http://engine.layabox.com/layaAppUpdate/layaApp/v2.1/",
"updateDelay":0,
"mainjs":"scripts/index.js"
}
#ifndef ECMASCRIPT_ALLOCATOR_H
#define ECMASCRIPT_ALLOCATOR_H
#include "core/os/memory.h"
template <class T>
class ECMAScriptNativeAllocator {
struct Node {
Node *previous = NULL;
@Geequlim
Geequlim / 2020-07-05
Created July 19, 2020 03:48
QuickJS-Patch
diff --git a/quickjs.c b/quickjs.c
index 8fbb7a3..00d67df 100644
--- a/quickjs.c
+++ b/quickjs.c
@@ -73,7 +73,7 @@
#if !defined(EMSCRIPTEN)
/* enable stack limitation */
-#define CONFIG_STACK_CHECK
+// #define CONFIG_STACK_CHECK