alpaqa develop
Nonconvex constrained optimization
Loading...
Searching...
No Matches
dl-flags.cpp
Go to the documentation of this file.
2
3#if !_WIN32
4#include <dlfcn.h>
5#endif
6
7namespace alpaqa {
8
9DynamicLoadFlags::operator int() const {
10#if _WIN32
11 return 0;
12#else
13 return (global ? RTLD_GLOBAL : RTLD_LOCAL) | //
14 (lazy ? RTLD_LAZY : RTLD_NOW) | //
15 (nodelete ? RTLD_NODELETE : 0) |
17 (deepbind ? RTLD_DEEPBIND : 0) |
18#endif
19 0;
20#endif
21}
22
23} // namespace alpaqa
constexpr const auto inf
Definition config.hpp:112