MCPcopy Create free account
hub / github.com/lief-project/LIEF / init_enums

Function init_enums

api/python/src/ART/init.cpp:37–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37inline void init_enums(nb::module_& m) {
38 nb::enum_<STORAGE_MODES>(m, "STORAGE_MODES")
39 .value(PY_ENUM(STORAGE_MODES::STORAGE_UNCOMPRESSED))
40 .value(PY_ENUM(STORAGE_MODES::STORAGE_LZ4))
41 .value(PY_ENUM(STORAGE_MODES::STORAGE_LZ4HC));
42}
43
44void init(nb::module_& m) {
45 nb::module_ mod = m.def_submodule("ART", "Python API for ART format");

Callers 1

initFunction · 0.70

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected