temporarily commented out CallQueryInterface for UNIX, added NS_EXPORT for Windows

git-svn-id: svn://10.0.0.236/trunk@30978 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scc%netscape.com
1999-05-10 21:43:29 +00:00
parent 8477318698
commit 78eb0e9f7f
3 changed files with 9 additions and 9 deletions

View File

@@ -340,7 +340,7 @@ class nsCOMPtr_base
}
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
~nsCOMPtr_base();
NS_EXPORT ~nsCOMPtr_base();
#endif
#if 0
@@ -637,7 +637,7 @@ SameCOMIdentity( nsISupports* lhs, nsISupports* rhs )
#endif // defined(NSCAP_FEATURE_ALLOW_COMPARISONS)
#if 0
template <class SourceType, class DestinationType>
inline
nsresult
@@ -649,7 +649,7 @@ CallQueryInterface( SourceType* aSource, nsCOMPtr<DestinationType>* aDestination
return aSource->QueryInterface(DestinationType::GetIID(), NS_STATIC_CAST(void**, getter_AddRefs(*aDestination)));
}
#endif
#endif // !defined(nsCOMPtr_h___)

View File

@@ -340,7 +340,7 @@ class nsCOMPtr_base
}
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
~nsCOMPtr_base();
NS_EXPORT ~nsCOMPtr_base();
#endif
#if 0
@@ -637,7 +637,7 @@ SameCOMIdentity( nsISupports* lhs, nsISupports* rhs )
#endif // defined(NSCAP_FEATURE_ALLOW_COMPARISONS)
#if 0
template <class SourceType, class DestinationType>
inline
nsresult
@@ -649,7 +649,7 @@ CallQueryInterface( SourceType* aSource, nsCOMPtr<DestinationType>* aDestination
return aSource->QueryInterface(DestinationType::GetIID(), NS_STATIC_CAST(void**, getter_AddRefs(*aDestination)));
}
#endif
#endif // !defined(nsCOMPtr_h___)

View File

@@ -340,7 +340,7 @@ class nsCOMPtr_base
}
#ifdef NSCAP_FEATURE_FACTOR_DESTRUCTOR
~nsCOMPtr_base();
NS_EXPORT ~nsCOMPtr_base();
#endif
#if 0
@@ -637,7 +637,7 @@ SameCOMIdentity( nsISupports* lhs, nsISupports* rhs )
#endif // defined(NSCAP_FEATURE_ALLOW_COMPARISONS)
#if 0
template <class SourceType, class DestinationType>
inline
nsresult
@@ -649,7 +649,7 @@ CallQueryInterface( SourceType* aSource, nsCOMPtr<DestinationType>* aDestination
return aSource->QueryInterface(DestinationType::GetIID(), NS_STATIC_CAST(void**, getter_AddRefs(*aDestination)));
}
#endif
#endif // !defined(nsCOMPtr_h___)