Remove native override API (bug 5852 part 1, r=ds).

--HG--
extra : rebase_source : 9df0399c88721b63667a9b0b5dca0eb20168117a
This commit is contained in:
David Anderson
2013-08-30 10:10:57 -07:00
parent 4dc5d0e12f
commit 0e677fb3a2
7 changed files with 58 additions and 177 deletions
-7
View File
@@ -65,12 +65,6 @@ class CNativeOwner;
struct NativeEntry;
class CPlugin;
struct ReplaceNative
{
CNativeOwner *owner;
SPVM_NATIVE_FUNC func;
};
struct FakeNative
{
char name[64];
@@ -83,7 +77,6 @@ struct NativeEntry
CNativeOwner *owner;
SPVM_NATIVE_FUNC func;
const char *name;
ReplaceNative replacement;
FakeNative *fake;
static inline bool matches(const char *name, const NativeEntry *entry)