mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 23:23:33 +00:00
fix nsID definition (thanks to shaver for the right combination) to use pointers
This commit is contained in:
parent
41fdef43f9
commit
efa97e945a
@ -27,10 +27,16 @@ struct nsID {
|
||||
typedef nsID nsIID;
|
||||
typedef nsID nsCID;
|
||||
*/
|
||||
|
||||
/* the above doesn't make nsID/nsIID/nsCID pass by reference in
|
||||
* method calls so we make these fake interfaces:
|
||||
*/
|
||||
/*
|
||||
interface nsID {};
|
||||
interface nsIID {};
|
||||
interface nsCID {};
|
||||
*/
|
||||
|
||||
native nsID(nsID *);
|
||||
native nsCID(nsCID *);
|
||||
native nsIID(nsIID *);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user