Skip to content

Commit b43902f

Browse files
authored
Merge pull request #89 from martinRenou/rename_exc_func
Rename exception extraction function
2 parents 7cead75 + 3ba7cba commit b43902f

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)