alpaqa
develop
Nonconvex constrained optimization
Loading...
Searching...
No Matches
src
alpaqa
src
util
dl-flags.cpp
Go to the documentation of this file.
1
#include <
alpaqa/util/dl-flags.hpp
>
2
3
#if !_WIN32
4
#include <dlfcn.h>
5
#endif
6
7
namespace
alpaqa
{
8
9
DynamicLoadFlags::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) |
16
#
ifdef
RTLD_DEEPBIND
17
(deepbind ?
RTLD_DEEPBIND
: 0) |
18
#
endif
19
0;
20
#endif
21
}
22
23
}
// namespace alpaqa
dl-flags.hpp
alpaqa
Definition
anderson.hpp:10
alpaqa::inf
constexpr const auto inf
Definition
config.hpp:112
Generated on Mon May 6 2024 for alpaqa by
1.9.8