EGSnrc C++ class library  Report PIRS-898 (2021)
Iwan Kawrakow, Ernesto Mainegra-Hing, Frederic Tessier, Reid Townson and Blake Walters
Macros
egs_library.cpp File Reference

EGS_Library implementation. More...

#include "egs_library.h"
#include "egs_functions.h"
#include <dlfcn.h>
#include <string>

Go to the source code of this file.

Macros

#define DLL_HANDLE   void*
 
#define LOAD_LIBRARY(fname)   dlopen(fname,RTLD_LAZY)
 
#define FREE_LIBRARY(lib)   !dlclose(lib)
 
#define RESOLVE_SYMBOL(lib, symb)   dlsym(lib,symb)
 

Detailed Description

EGS_Library implementation.

Author
Iwan Kawrakow, NRC

Definition in file egs_library.cpp.