Crate veloren_common_dynlib
source ยทStructsยง
- LoadedLib holds a loaded dynamic library and the location of library file with the appropriate OS specific name and extension i.e.
libvoxygen_anim_dyn_active.dylib
,voxygen_anim_dyn_active.dll
. - Symbol from a library.
Functionsยง
- active_file ๐
- compile ๐Recompile the dyn package
- compiled_file ๐
- copy ๐Copy the lib file, so we have an
_active
copy. - dyn_lib_file ๐
- event_fn ๐Event function to hotreload the dynamic library
- hotreload ๐Hotreload the dynamic library
- Initialise a watcher.