Bug 119382 - attribute nsIIDPtr IID considered harmful - This patch makes it an error to declare an attribute named IID or a method named getIID. r=jband, sr=jst

git-svn-id: svn://10.0.0.236/trunk@114932 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dbradley%netscape.com
2002-02-19 14:48:00 +00:00
parent 93a46ee258
commit 4c972e2fbe
16 changed files with 48 additions and 23 deletions

View File

@@ -73,7 +73,7 @@ static PyObject *PyGetIID(PyObject *self, PyObject *args)
nsIID *iid_ret;
nsresult r;
Py_BEGIN_ALLOW_THREADS;
r = pI->GetIID(&iid_ret);
r = pI->GetInterfaceIID(&iid_ret);
Py_END_ALLOW_THREADS;
if ( NS_FAILED(r) )
return PyXPCOM_BuildPyException(r);