mirror of
https://github.com/lief-project/LIEF
synced 2026-06-08 15:30:44 +00:00
Fix missing UNKNOWN command
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user