Skip to content

Commit 3ba7cba

Browse files
committed
Rename exception extraction functiont
1 parent 7cead75 commit 3ba7cba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/export_js_module.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ namespace pyjs
9393
}
9494

9595

96-
std::string get_exception_message(int exceptionPtr)
96+
std::string extract_exception_message(int exceptionPtr)
9797
{
9898
auto ptr = reinterpret_cast<std::exception *>(exceptionPtr);
9999

@@ -140,7 +140,7 @@ namespace pyjs
140140
{ std::cout << val; }));
141141

142142

143-
em::function("get_exception_message", &get_exception_message);
143+
em::function("extract_exception_message", &extract_exception_message);
144144

145145
}
146146

0 commit comments

Comments
 (0)