From af16390b8593b3a801c267ef8f87fa9714bbc398 Mon Sep 17 00:00:00 2001 From: ialex32x Date: Tue, 7 Jan 2025 12:26:10 +0800 Subject: [PATCH 1/2] Update projects.md to include GodotJS --- docs/docs/projects.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/docs/projects.md b/docs/docs/projects.md index d499a09..c3cbdc5 100644 --- a/docs/docs/projects.md +++ b/docs/docs/projects.md @@ -26,3 +26,7 @@ JavaScript runtime for Nintendo Switch homebrew applications. ## [quickjs-rusty](https://github.com/Icemic/quickjs-rusty) Rust wrapper focus on embedding-ready and no-pain type conversion and interoperability. + +## [GodotJS](https://github.com/godotjs/GodotJS) + +This project adds TypeScript/JavaScript support for Godot 4.x. It supports multiple javascript runtimes, including QuicJS-NG. From 84d11c4f69b6e0c0accd27caa01cdb66bf2dcb16 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Mon, 6 Jan 2025 16:36:48 +0300 Subject: [PATCH 2/2] Fix missing calls to va_end in libunicode --- libunicode.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libunicode.c b/libunicode.c index e68b0ca..e880dad 100644 --- a/libunicode.c +++ b/libunicode.c @@ -1542,11 +1542,13 @@ static int unicode_prop_ops(CharRange *cr, ...) } } done: + va_end(ap); assert(stack_len == 1); ret = cr_copy(cr, &stack[0]); cr_free(&stack[0]); return ret; fail: + va_end(ap); for(i = 0; i < stack_len; i++) cr_free(&stack[i]); return -1;