sqrdbg.h 510 B

123456789101112131415161718192021222324
  1. #ifndef _SQ_RDBG_H_
  2. #define _SQ_RDBG_H_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #ifdef _WIN32
  7. #pragma comment(lib, "WSOCK32.LIB")
  8. #endif
  9. struct SQDbgServer;
  10. typedef SQDbgServer* HSQREMOTEDBG;
  11. HSQREMOTEDBG sq_rdbg_init(HSQUIRRELVM v,unsigned short port,SQBool autoupdate);
  12. SQRESULT sq_rdbg_waitforconnections(HSQREMOTEDBG rdbg);
  13. SQRESULT sq_rdbg_shutdown(HSQREMOTEDBG rdbg);
  14. SQRESULT sq_rdbg_update(HSQREMOTEDBG rdbg);
  15. #ifdef __cplusplus
  16. } /*extern "C"*/
  17. #endif
  18. #endif //_SQ_RDBG_H_