Update nanobind

Resolve: #1128
This commit is contained in:
Romain Thomas
2024-11-30 05:30:21 +01:00
parent b0366b3388
commit de49dceba9
95 changed files with 123750 additions and 65077 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ void create<Function>(nb::module_& m) {
Class which represents a Function in an executable file format.
)delim"_doc);
enum_<Function::FLAGS>(pyfunction, "FLAGS", nb::is_arithmetic())
enum_<Function::FLAGS>(pyfunction, "FLAGS", nb::is_flag())
.value(PY_ENUM(Function::FLAGS::NONE))
.value(PY_ENUM(Function::FLAGS::IMPORTED))
.value(PY_ENUM(Function::FLAGS::EXPORTED))