Skip to content

Commit d098ef1

Browse files
committed
Added missing HookType enum
1 parent 1a1fcb3 commit d098ef1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/core/modules/memory/memory_wrap_python.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,11 @@ void export_dyncall()
479479
.value("THISCALL", CONV_THISCALL)
480480
;
481481

482+
enum_<HookType_t>("HookType")
483+
.value("PRE", HOOKTYPE_PRE)
484+
.value("POST", HOOKTYPE_POST)
485+
;
486+
482487
// Other constants that are very useful.
483488
scope().attr("DC_ERROR_NONE") = DC_ERROR_NONE;
484489
scope().attr("DC_ERROR_UNSUPPORTED_MODE") = DC_ERROR_UNSUPPORTED_MODE;

0 commit comments

Comments
 (0)