Skip to content

Lazy shared module symbols resolution

License

Notifications You must be signed in to change notification settings

Midi12/cpp-lazyimports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cpp-lazyimports

Cpp-lazyimports is a lazy loader for shared libraries.

Cross platform, it works on Windows and Linux (untested on MacOS yet).

The source is header only.

Format is <shared library name>!<symbol name>

Example :

auto sum = "shared.so!sum"_lazy;
std::cout << sum.call<int>(1337, 42) << std::endl;

(See docs/example.cpp for more usage)

Todos :

  • add some comments
  • add more Catch unit tests

About

Lazy shared module symbols resolution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages