Estella 0.113.0
A fast 2D and 3D game engine powered by WebAssembly and ECS
Loading...
Searching...
No Matches
esengine::core Namespace Reference

Functions

void * openLibrary (const char *path)
void closeLibrary (void *handle)
void * librarySymbol (void *handle, const char *name)

Function Documentation

◆ closeLibrary()

void esengine::core::closeLibrary ( void * handle)
inline

Safe on nullptr, because "close whatever I got" is every caller's shape.

Definition at line 52 of file DynamicLibrary.hpp.

Referenced by esengine::aot::Module::close().

◆ librarySymbol()

void * esengine::core::librarySymbol ( void * handle,
const char * name )
inline

The address of an exported symbol, or nullptr — including for a null handle, so a caller that failed to open needs no second branch.

Definition at line 63 of file DynamicLibrary.hpp.

Referenced by esengine::aot::Module::open().

◆ openLibrary()

void * esengine::core::openLibrary ( const char * path)
inline

A loaded library, or nullptr. The path is taken as given — a leaf name is searched the way the platform searches one, which is rarely what a caller wants; pass an absolute path unless the search IS the intent.

Definition at line 42 of file DynamicLibrary.hpp.

Referenced by esengine::aot::Module::open().