From 895b447b050079ae151bb57ccfa6aa2fef4adb38 Mon Sep 17 00:00:00 2001 From: Mikhail Bystretskiy Date: Thu, 30 Jan 2025 13:38:48 +0300 Subject: [PATCH] KOALA_ETS_INTEROP_MODULE_CLASSPATH macro demands classpath value in quotes Signed-off-by: Mikhail Bystretskiy --- interop/src/cpp/ets/convertors-ets.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interop/src/cpp/ets/convertors-ets.h b/interop/src/cpp/ets/convertors-ets.h index 01be41702..cad13346c 100644 --- a/interop/src/cpp/ets/convertors-ets.h +++ b/interop/src/cpp/ets/convertors-ets.h @@ -203,7 +203,7 @@ public: } #define KOALA_ETS_INTEROP_MODULE_CLASSPATH(module, classpath) \ static void __init_classpath_##module() { \ - EtsExports::getInstance()->setClasspath(KOALA_QUOTE(module), KOALA_QUOTE(classpath)); \ + EtsExports::getInstance()->setClasspath(KOALA_QUOTE(module), classpath); \ } \ namespace { \ struct __Init_classpath_##module { \ @@ -219,7 +219,7 @@ public: #define KOALA_ETS_INTEROP_MODULE_CLASSPATH(module, classpath) \ __attribute__((constructor)) \ static void __init_ets_classpath_##module() { \ - EtsExports::getInstance()->setClasspath(KOALA_QUOTE(module), KOALA_QUOTE(classpath)); \ + EtsExports::getInstance()->setClasspath(KOALA_QUOTE(module), classpath); \ } #endif -- Gitee