interupts.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 #include "..\ScripterExport.h"
00004 #include "exceptions.h"
00005 
00006 extern ScripterExport BOOL      check_maxscript_interrupt;
00007 extern ScripterExport int       MAXScript_signals;
00008 extern ScripterExport void      escape_checker();
00009 
00010 #define check_interrupts()  if (check_maxscript_interrupt) escape_checker(); if (MAXScript_signals) throw SignalException()