Removed inline notation.

This commit is contained in:
David Anderson 2004-08-28 22:34:02 +00:00
parent 93cd6dbed5
commit 02be09dd00
2 changed files with 12 additions and 13 deletions

View File

@ -54,19 +54,19 @@ private:
// execution // execution
float m_fNextExecTime; float m_fNextExecTime;
public: public:
inline void set(CPluginMngr::CPlugin *pPlugin, int iFunc, int iFlags, int iId, float fBase, int iParamsLen, const cell *pParams, int iRepeat, float fCurrentTime); void set(CPluginMngr::CPlugin *pPlugin, int iFunc, int iFlags, int iId, float fBase, int iParamsLen, const cell *pParams, int iRepeat, float fCurrentTime);
inline void clear(); void clear();
inline bool isFree() const; bool isFree() const;
inline CPluginMngr::CPlugin *getPlugin() const; CPluginMngr::CPlugin *getPlugin() const;
inline int getTaskId() const; int getTaskId() const;
inline void executeIfRequired(float fCurrentTime, float fTimeLimit, float fTimeLeft); // also removes the task if needed void executeIfRequired(float fCurrentTime, float fTimeLimit, float fTimeLeft); // also removes the task if needed
inline void changeBase(float fNewBase); void changeBase(float fNewBase);
inline void resetNextExecTime(float fCurrentTime); void resetNextExecTime(float fCurrentTime);
inline bool shouldRepeat(); bool shouldRepeat();
CTask(); CTask();
~CTask(); ~CTask();

View File

@ -288,9 +288,9 @@ AMX_FLAG_RELOC equ 8000h ; jump/call addresses relocated
; in the Masm implementation, since it only does two passes. This macro is ; in the Masm implementation, since it only does two passes. This macro is
; called *after* the code for each Small instruction. ; called *after* the code for each Small instruction.
%macro CHECKCODESIZE 1 %macro CHECKCODESIZE 1
%if MAXCODESIZE < $-%1 ; %if MAXCODESIZE < $-%1
%assign MAXCODESIZE $-%1 ; %assign MAXCODESIZE $-%1
%endif ; %endif
%endmacro %endmacro
; ;
@ -1989,7 +1989,6 @@ err_stacklow:
_CHKMARGIN_STACK: ; some run-time check routines _CHKMARGIN_STACK: ; some run-time check routines
cmp esp,stp cmp esp,stp
lea ebp,[esp-STACKRESERVE]
jg err_stacklow jg err_stacklow
sub ebp,edi sub ebp,edi
cmp hea,ebp cmp hea,ebp