Fix breakage caused by trunk changes to NS_DEFINE_STATIC_IID_ACCESSOR.

Not part of the build.
This commit is contained in:
mhammond%skippinet.com.au 2005-12-08 01:04:05 +00:00
Родитель cdc6395d43
Коммит 12e7493d04
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -349,11 +349,13 @@ class PyXPCOM_GatewayWeakReference;
// We also allow the underlying PyObject to be extracted // We also allow the underlying PyObject to be extracted
class nsIInternalPython : public nsISupports { class nsIInternalPython : public nsISupports {
public: 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 // Get the underlying Python object with new reference added
virtual PyObject *UnwrapPythonObject(void) = 0; virtual PyObject *UnwrapPythonObject(void) = 0;
}; };
NS_DEFINE_STATIC_IID_ACCESSOR(nsIInternalPython, NS_IINTERNALPYTHON_IID)
// This is roughly equivalent to PyGatewayBase in win32com // This is roughly equivalent to PyGatewayBase in win32com
// //
class PYXPCOM_EXPORT PyG_Base : public nsIInternalPython, public nsISupportsWeakReference class PYXPCOM_EXPORT PyG_Base : public nsIInternalPython, public nsISupportsWeakReference