Fix missing UNKNOWN command

This commit is contained in:
Romain Thomas
2024-05-25 06:33:34 +02:00
parent 3f18682c61
commit f21b38f0c6
2 changed files with 2 additions and 0 deletions
@@ -61,6 +61,7 @@ void create<LoadCommand>(nb::module_& m) {
enum_<LoadCommand::TYPE>(cls, "TYPE")
#define PY_ENUM(x) to_string(x), x
.value(PY_ENUM(LoadCommand::TYPE::UNKNOWN))
.value(PY_ENUM(LoadCommand::TYPE::SEGMENT))
.value(PY_ENUM(LoadCommand::TYPE::SYMTAB))
.value(PY_ENUM(LoadCommand::TYPE::SYMSEG))