зеркало из https://github.com/mozilla/pjs.git
Fix breakage caused by trunk changes to NS_DEFINE_STATIC_IID_ACCESSOR.
Not part of the build.
This commit is contained in:
Родитель
cdc6395d43
Коммит
12e7493d04
|
@ -349,11 +349,13 @@ class PyXPCOM_GatewayWeakReference;
|
|||
// We also allow the underlying PyObject to be extracted
|
||||
class nsIInternalPython : public nsISupports {
|
||||
public:
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(NS_IINTERNALPYTHON_IID)
|
||||
NS_DECLARE_STATIC_IID_ACCESSOR(NS_IINTERNALPYTHON_IID)
|
||||
// Get the underlying Python object with new reference added
|
||||
virtual PyObject *UnwrapPythonObject(void) = 0;
|
||||
};
|
||||
|
||||
NS_DEFINE_STATIC_IID_ACCESSOR(nsIInternalPython, NS_IINTERNALPYTHON_IID)
|
||||
|
||||
// This is roughly equivalent to PyGatewayBase in win32com
|
||||
//
|
||||
class PYXPCOM_EXPORT PyG_Base : public nsIInternalPython, public nsISupportsWeakReference
|
||||
|
|
Загрузка…
Ссылка в новой задаче