MimIR
0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
dl.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <stdexcept>
4
#include <string>
5
6
namespace
mim::dl
{
7
8
static
constexpr
auto
extension
=
9
#if defined(_WIN32)
10
"dll"
;
11
#else
12
"so"
;
13
#endif
14
15
void
*
open
(
const
char
* filename);
16
void
*
get
(
void
* handle,
const
char
* symbol_name);
17
void
close
(
void
* handle);
18
19
}
// namespace mim::dl
mim::dl
Definition
dl.h:6
mim::dl::get
void * get(void *handle, const char *symbol_name)
Definition
dl.cpp:36
mim::dl::close
void close(void *handle)
Definition
dl.cpp:55
mim::dl::open
void * open(const char *filename)
Definition
dl.cpp:17
mim::dl::extension
static constexpr auto extension
Definition
dl.h:8
include
mim
util
dl.h
Generated by
1.12.0