Added bytecode output.

This commit is contained in:
David Anderson
2004-08-08 10:15:08 +00:00
parent 023f9b43ea
commit 7b111a179e
25 changed files with 534 additions and 59 deletions

View File

@ -23,6 +23,11 @@
#include "amxasm.h"
NativeMngr::~NativeMngr()
{
Clear();
}
void NativeMngr::Clear()
{
std::vector<NativeMngr::Native *>::iterator i;
@ -75,4 +80,14 @@ NativeMngr::Native *NativeMngr::FindNative(std::string &sym)
}
return NULL;
}
void NativeMngr::GetNatives(std::vector<NativeMngr::Native *> &nList)
{
std::vector<NativeMngr::Native *>::iterator i;
for (i=List.begin(); i!=List.end(); i++)
{
nList.push_back( (*i) );
}
}