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
6namespace mim::dl {
7
8static constexpr auto extension =
9#if defined(_WIN32)
10 "dll";
11#else
12 "so";
13#endif
14
15void* open(const char* filename);
16void* get(void* handle, const char* symbol_name);
17void close(void* handle);
18
19} // namespace mim::dl
Definition dl.h:6
void * get(void *handle, const char *symbol_name)
Definition dl.cpp:36
void close(void *handle)
Definition dl.cpp:55
void * open(const char *filename)
Definition dl.cpp:17
static constexpr auto extension
Definition dl.h:8