Skip to content

Commit 121a496

Browse files
committed
Added custom_convention(m_oCallingConvention) attribute to Function.
1 parent b4cb2c0 commit 121a496

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/core/modules/memory/memory_wrap.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,10 @@ void export_function(scope _memory)
540540
&CFunction::m_eCallingConvention
541541
)
542542

543+
.def_readonly("custom_convention",
544+
&CFunction::m_oCallingConvention
545+
)
546+
543547
// Properties
544548
.add_property("trampoline",
545549
make_function(&CFunction::GetTrampoline, manage_new_object_policy()),

0 commit comments

Comments
 (0)