From 3ba7cba1a7127a0be45d5c169e7f883787f9213b Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 4 Feb 2025 15:48:22 +0100 Subject: [PATCH] Rename exception extraction functiont --- src/export_js_module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/export_js_module.cpp b/src/export_js_module.cpp index 1fb4f81..5b15a39 100644 --- a/src/export_js_module.cpp +++ b/src/export_js_module.cpp @@ -93,7 +93,7 @@ namespace pyjs } - std::string get_exception_message(int exceptionPtr) + std::string extract_exception_message(int exceptionPtr) { auto ptr = reinterpret_cast(exceptionPtr); @@ -140,7 +140,7 @@ namespace pyjs { std::cout << val; })); - em::function("get_exception_message", &get_exception_message); + em::function("extract_exception_message", &extract_exception_message); }