mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-05 05:30:29 +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 nsIID;
|
||||||
typedef nsID nsCID;
|
typedef nsID nsCID;
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* the above doesn't make nsID/nsIID/nsCID pass by reference in
|
/* the above doesn't make nsID/nsIID/nsCID pass by reference in
|
||||||
* method calls so we make these fake interfaces:
|
* method calls so we make these fake interfaces:
|
||||||
*/
|
*/
|
||||||
|
/*
|
||||||
interface nsID {};
|
interface nsID {};
|
||||||
interface nsIID {};
|
interface nsIID {};
|
||||||
interface nsCID {};
|
interface nsCID {};
|
||||||
|
*/
|
||||||
|
|
||||||
|
native nsID(nsID *);
|
||||||
|
native nsCID(nsCID *);
|
||||||
|
native nsIID(nsIID *);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user