Closed Bug 228794 Opened 21 years ago Closed 21 years ago

biesi wants nsInterfaceHashtable::getWeak

Categories

(Core :: XPCOM, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.7alpha

People

(Reporter: benjamin, Assigned: Biesinger)

References

Details

Attachments

(1 file)

biesi wants a way to get an interface pointer out of nsInterfaceHashtable without the addref that Get() uses... Interface* nsInterfaceHashtable::getWeak(KeyType aKey, PRBool* aFound = nsnull); This shouldn't cost any codesize for people who aren't going to use it (and if you use it exclusively it will cost less than Get).
Comment on attachment 138076 [details] [diff] [review] patch looks good to me. alecf needs to give approval
Attachment #138076 - Flags: superreview?(alecf)
Attachment #138076 - Flags: review+
Assignee: bsmedberg → cbiesinger
Target Milestone: --- → mozilla1.7alpha
Status: NEW → ASSIGNED
Comment on attachment 138076 [details] [diff] [review] patch can you make the header comments javadoc-style @param and @return?
sure, will do that... tell me if you want a new patch for that
No longer blocks: 228825
Comment on attachment 138076 [details] [diff] [review] patch awesome! sr=alecf
Attachment #138076 - Flags: superreview?(alecf) → superreview+
checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: