mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
*sigh* - regress previous checkin, as the change that caused it appears to
also have been regressed. Not part of the build.
This commit is contained in:
parent
657acb1f6c
commit
8b03e9362e
@ -121,12 +121,13 @@ Py_nsIClassInfo::getattr(const char *name)
|
||||
ret = MakeStringOrNone(str_ret);
|
||||
nsAllocator::Free(str_ret);
|
||||
} else if (strcmp(name, "classID")==0) {
|
||||
nsIID iid;
|
||||
nsIID *iid;
|
||||
Py_BEGIN_ALLOW_THREADS;
|
||||
nr = pI->GetClassID(&iid);
|
||||
Py_END_ALLOW_THREADS;
|
||||
GETATTR_CHECK_RESULT(nr);
|
||||
ret = Py_nsIID::PyObjectFromIID(iid);
|
||||
ret = Py_nsIID::PyObjectFromIID(*iid);
|
||||
nsAllocator::Free(iid);
|
||||
} else if (strcmp(name, "implementationLanguage")==0) {
|
||||
PRUint32 i;
|
||||
Py_BEGIN_ALLOW_THREADS;
|
||||
|
Loading…
Reference in New Issue
Block a user