diff options
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++!"); +} |