guanaqo
main
Utilities for scientific software
Loading...
Searching...
No Matches
dl-flags.hpp
Go to the documentation of this file.
1
#pragma once
2
3
/// @file
4
/// @ingroup dylib
5
/// Flags wrapper for dynamic library loading.
6
7
#include <guanaqo/export.h>
8
9
namespace
guanaqo
{
10
11
/// Flags to be passed to `dlopen`.
12
/// @ingroup dylib
13
struct
GUANAQO_EXPORT
DynamicLoadFlags
{
14
/// `RTLD_GLOBAL` (true) or `RTLD_LOCAL` (false).
15
bool
global
=
false
;
16
/// `RTLD_LAZY` (true) or `RTLD_NOW` (false).
17
bool
lazy
=
false
;
18
/// `RTLD_NODELETE`
19
bool
nodelete
=
true
;
20
/// `RTLD_DEEPBIND`
21
bool
deepbind
=
true
;
22
23
operator
int()
const
;
24
};
25
26
}
// namespace guanaqo
guanaqo
Definition
blas-interface.hpp:9
guanaqo::DynamicLoadFlags
Flags to be passed to dlopen.
Definition
dl-flags.hpp:13
guanaqo::DynamicLoadFlags::nodelete
bool nodelete
RTLD_NODELETE
Definition
dl-flags.hpp:19
guanaqo::DynamicLoadFlags::global
bool global
RTLD_GLOBAL (true) or RTLD_LOCAL (false).
Definition
dl-flags.hpp:15
guanaqo::DynamicLoadFlags::lazy
bool lazy
RTLD_LAZY (true) or RTLD_NOW (false).
Definition
dl-flags.hpp:17
guanaqo::DynamicLoadFlags::deepbind
bool deepbind
RTLD_DEEPBIND
Definition
dl-flags.hpp:21
include
guanaqo
dl-flags.hpp
Generated on
for guanaqo by
1.16.1