Lines Matching defs:local
419 // module-local then make the vector binding module-local as well:
422 bool local = !vtype_info || vtype_info->module_local;
424 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...);
581 // If either type is a non-module-local bound type then make the map binding non-local as well;
582 // otherwise (e.g. both types are either module-local or converting) the map will be
583 // module-local.
585 bool local = !tinfo || tinfo->module_local;
586 if (local) {
588 local = !tinfo || tinfo->module_local;
591 Class_ cl(scope, name.c_str(), pybind11::module_local(local), std::forward<Args>(args)...);