Slight perf increase by not wrapping the module object in a client wrapper.

Not part of the build.
This commit is contained in:
markh@activestate.com
2001-08-05 08:26:39 +00:00
parent 6045940f3f
commit e1d282b2ca

View File

@@ -49,4 +49,4 @@ def WrapObject(ob, iid, policy = None, bWrapClient = 1):
def NS_GetModule( serviceManager, nsIFile ):
import loader
iid = _xpcom.IID_nsIModule
return WrapObject(loader.MakePythonComponentLoaderModule(serviceManager, nsIFile), iid)
return WrapObject(loader.MakePythonComponentLoaderModule(serviceManager, nsIFile), iid, bWrapClient = 0)