#ifndef EXECSNOOP_SHARE_HPP #define EXECSNOOP_SHARE_HPP 1 #include #include #include using namespace std; namespace CGPROXY::EXECSNOOP { extern "C" void startThread(function c, promise _status); #ifdef BUIlD_EXECSNOOP_DL // only for dlsym() using startThread_t=decltype(startThread); startThread_t *_startThread; #endif } // namespace CGPROXY::EXECSNOOP #endif