-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Changelog - feat: `has_symbol` function - feat: `operator bool()` - feat: Valgrind CI # Examples ## has_symbol ```c++ void dylib_symbol_example(const dylib &lib) { if (lib.has_symbol("GetModule")) std::cout << "GetModule has been found" << std::endl; else std::cout << "Could not found GetModule symbol" << std::endl; } ``` ## operator bool() ```c++ void dylib_status_example(const dylib &lib) { if (lib) std::cout << "something is curently loaded in the dylib object" << std::endl; if (!lib) std::cout << "nothing is curently loaded in the dylib object" << std::endl; } ```
- Loading branch information
1 parent
625c373
commit 48f3a78
Showing
4 changed files
with
89 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters