X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/2a1ef3b183e8a9767a7a2e10a1c24e852481494e..e08647faf449d1e8b4b214e0e1891203e322f76a:/stglibs/scriptexecuter.lib/scriptexecuter.h?ds=sidebyside diff --git a/stglibs/scriptexecuter.lib/scriptexecuter.h b/stglibs/scriptexecuter.lib/scriptexecuter.h index d0db1dad..41b02a2f 100644 --- a/stglibs/scriptexecuter.lib/scriptexecuter.h +++ b/stglibs/scriptexecuter.lib/scriptexecuter.h @@ -1,9 +1,19 @@ #ifndef SCRIPT_EXECUTER_H #define SCRIPT_EXECUTER_H -#include +#ifdef __cplusplus +extern "C" { +#endif -int ScriptExec(const std::string & str); -void Executer(int msgKey, int msgID, pid_t pid, char * procName); +int ScriptExec(const char * str); +#ifdef LINUX +void Executer(int msgID, pid_t pid, char * procName); +#else +void Executer(int msgID, pid_t pid); +#endif -#endif //SCRIPT_EXECUTER_H +#ifdef __cplusplus +} +#endif + +#endif