Rudiments
dynamiclib.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_DYNAMICLIB_H
5#define RUDIMENTS_DYNAMICLIB_H
6
7#include <rudiments/private/dynamiclibincludes.h>
8
11class RUDIMENTS_DLLSPEC dynamiclib : public object {
12 public:
13
16
19
28 bool open(const char *library,
29 bool loaddependencies,
30 bool global);
31
33 bool close();
34
38 void *getSymbol(const char *symbol);
39
47 char *getError();
48
56 static void setErrorMutex(threadmutex *mtx);
57
58 #include <rudiments/private/dynamiclib.h>
59};
60
61#endif
Definition dynamiclib.h:11
bool close()
static void setErrorMutex(threadmutex *mtx)
void * getSymbol(const char *symbol)
bool open(const char *library, bool loaddependencies, bool global)
char * getError()
Definition object.h:10
Definition threadmutex.h:11