1.1 --- a/core/systems/PluginSys.cpp Sat Nov 17 02:54:44 2007 +0000
1.2 +++ b/core/systems/PluginSys.cpp Sat Nov 17 04:31:01 2007 +0000
1.3 @@ -1440,6 +1440,18 @@
1.4 }
1.5 }
1.6
1.7 +SPVM_NATIVE_FUNC CPluginManager::FindCoreNative(const char *name)
1.8 +{
1.9 + SPVM_NATIVE_FUNC pfn;
1.10 +
1.11 + if (!sm_trie_retrieve(m_pCoreNatives, name, (void **)&pfn))
1.12 + {
1.13 + return NULL;
1.14 + }
1.15 +
1.16 + return pfn;
1.17 +}
1.18 +
1.19 void CPluginManager::TryRefreshDependencies(CPlugin *pPlugin)
1.20 {
1.21 assert(pPlugin->GetBaseContext() != NULL);