Add unwrap support.
Not part of the build. git-svn-id: svn://10.0.0.236/trunk@102784 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -40,6 +40,10 @@ def WrapObject(ob, iid, policy = None, bWrapClient = 1):
|
||||
ob = tracer(ob)
|
||||
return _xpcom.WrapObject(policy( ob, iid ), iid, bWrapClient)
|
||||
|
||||
# Unwrap a Python object back into the Python object
|
||||
def UnwrapObject(ob):
|
||||
return _xpcom.UnwrapObject(ob)._obj_
|
||||
|
||||
# Create the main module for the Python loader.
|
||||
# This is a once only init process, and the returned object
|
||||
# if used to load all other Python components.
|
||||
|
||||
Reference in New Issue
Block a user