Fixed NULL ninvoke ptr in sample ext when SMEXT_ENABLE_NINVOKE defined (bug 5340, r=psychonic).
This commit is contained in:
parent
b3372ebba2
commit
dfadfe37f6
@ -191,6 +191,9 @@ bool SDKExtension::OnExtensionLoad(IExtension *me, IShareSys *sys, char *error,
|
|||||||
#if defined SMEXT_ENABLE_TRANSLATOR
|
#if defined SMEXT_ENABLE_TRANSLATOR
|
||||||
SM_GET_IFACE(TRANSLATOR, translator);
|
SM_GET_IFACE(TRANSLATOR, translator);
|
||||||
#endif
|
#endif
|
||||||
|
#if defined SMEXT_ENABLE_NINVOKE
|
||||||
|
SM_GET_IFACE(NINVOKE, ninvoke);
|
||||||
|
#endif
|
||||||
#if defined SMEXT_ENABLE_ROOTCONSOLEMENU
|
#if defined SMEXT_ENABLE_ROOTCONSOLEMENU
|
||||||
SM_GET_IFACE(ROOTCONSOLE, rootconsole);
|
SM_GET_IFACE(ROOTCONSOLE, rootconsole);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user