cOMS/system/Library.h
Dennis Eichhorn 39fbcf4300
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (autobuild, c-cpp) (push) Waiting to run
Microsoft C++ Code Analysis / Analyze (push) Waiting to run
linux bug fixes
2025-03-22 01:10:19 +00:00

37 lines
599 B
C
Executable File

/**
* Jingga
*
* @copyright Jingga
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
#ifndef COMS_SYSTEM_LIBRARY_H
#define COMS_SYSTEM_LIBRARY_H
#include "../stdlib/Types.h"
#if _WIN32
#include "../platform/win32/Library.h"
#elif __linux__
#include "../platform/linux/Library.h"
#endif
struct Library {
LibraryHandle handle;
bool is_valid;
char dir[MAX_PATH];
char dst[64];
#if DEBUG || INTERNAL
uint64 last_load;
#endif
int32 function_count;
const char** function_names;
void** functions;
};
#endif