diff options
author | Paul Oliver <contact@pauloliver.dev> | 2025-03-17 01:01:51 +0000 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2025-03-17 01:39:21 +0000 |
commit | 234d21167e5ca45b8a2665df52dcf0cdb48f3dc0 (patch) | |
tree | 9884e1706763fc70db9480472ba87a75da9cd9b8 /hsm-cam/Hsm/Cam/Lib.cpp | |
parent | 0be7f1274e0cb8406bd4262b86d5e2e9dda77d7a (diff) |
Diffstat (limited to 'hsm-cam/Hsm/Cam/Lib.cpp')
-rw-r--r-- | hsm-cam/Hsm/Cam/Lib.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hsm-cam/Hsm/Cam/Lib.cpp b/hsm-cam/Hsm/Cam/Lib.cpp new file mode 100644 index 0000000..5eda6d7 --- /dev/null +++ b/hsm-cam/Hsm/Cam/Lib.cpp @@ -0,0 +1,11 @@ +#include <string> + +#include "Lib_stub.h" + +void log_msg(const std::string &str) { + logMsg((HsPtr)str.c_str()); +} + +extern "C" void some_c_wrapper() { + log_msg("Hello from C++!"); +} |