new jit api versioning scheme for amb398

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401153
This commit is contained in:
David Anderson
2007-07-23 19:12:54 +00:00
parent b4ba442d3c
commit 172b3e8ab8
5 changed files with 84 additions and 23 deletions
+5
View File
@@ -536,6 +536,11 @@ void SourcePawnEngine::PopTracer(int error, const char *msg)
m_CurChain--;
}
unsigned int SourcePawnEngine::GetEngineAPIVersion()
{
return SOURCEPAWN_ENGINE_API_VERSION;
}
CContextTrace::CContextTrace(TracedCall *pStart, int error, const char *msg, uint32_t native) :
m_Error(error), m_pMsg(msg), m_pStart(pStart), m_pIterator(pStart), m_Native(native)
{
+1
View File
@@ -65,6 +65,7 @@ public: //ISourcePawnEngine
void ExecFree(void *address);
IDebugListener *SetDebugListener(IDebugListener *pListener);
unsigned int GetContextCallCount();
unsigned int GetEngineAPIVersion();
public: //Debugger Stuff
/**
* @brief Pushes a context onto the top of the call tracer.