Bug 936801 - use forward declaration for NetAddr instead of include DNS.h. r=mcmanus.

This commit is contained in:
Shih-Chiang Chien 2013-11-12 13:54:17 +01:00
parent 9ad618d719
commit b94d407de5
2 changed files with 10 additions and 2 deletions

View File

@ -8,7 +8,11 @@
interface nsIUDPSocketInternal;
%{ C++
#include "mozilla/net/DNS.h"
namespace mozilla {
namespace net {
union NetAddr;
}
}
%}
native NetAddr(mozilla::net::NetAddr);
[ptr] native NetAddrPtr(mozilla::net::NetAddr);

View File

@ -7,7 +7,11 @@
#include "nsISupports.idl"
%{ C++
#include "mozilla/net/DNS.h"
namespace mozilla {
namespace net {
union NetAddr;
}
}
%}
native NetAddr(mozilla::net::NetAddr);