scc%netscape.com
|
4e937fc0aa
|
updated to new interface for nsCOMPtr
git-svn-id: svn://10.0.0.236/trunk@20847 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-02-17 01:58:25 +00:00 |
|
scc%netscape.com
|
218ef805b6
|
Added |nsresult nsCOMPtr::assignment_error() const;| which returns the error, if any, from the most recent operation (constructor or assignment operator) that implicitly calls |QueryInterface|. This did not increase the size of an |nsCOMPtr|.
git-svn-id: svn://10.0.0.236/trunk@20328 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-02-11 01:34:07 +00:00 |
|
scc%netscape.com
|
f2a42cc021
|
Made the constructor explicit again (see comment) to stop people from breaking the Linux builds.
git-svn-id: svn://10.0.0.236/trunk@18235 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-01-22 01:17:48 +00:00 |
|
scc%netscape.com
|
7112370451
|
OK. We were wrong about the SOLARIS case. Sorry.
git-svn-id: svn://10.0.0.236/trunk@17964 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-01-18 20:32:41 +00:00 |
|
scc%netscape.com
|
a47b5a1409
|
Added patch for bsdi from netscape.public.mozilla.patches; removed test for !SOLARIS as agreed with macafee.
git-svn-id: svn://10.0.0.236/trunk@17958 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-01-18 18:32:33 +00:00 |
|
scc%netscape.com
|
941d7a5f92
|
Now test pointer result _and_ error code on return from QueryInterface, as some implementations return garbage.
git-svn-id: svn://10.0.0.236/trunk@17908 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-01-16 02:37:22 +00:00 |
|
mjudge%netscape.com
|
546bdab866
|
scc and I decided that the explicit keyword was not necessary for the constructor.
It never hurts you to make an nsCOMPtr. MJ
git-svn-id: svn://10.0.0.236/trunk@17857 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-01-15 18:57:31 +00:00 |
|
scc%netscape.com
|
ead2550eb0
|
defined NSCAP_NEED_UNUSED_VIRTUAL_IMPLEMENTATIONS for GNU 2.7 under linux. Fixed URL leading to the user manual. Noted that ramiro is working on getting all these special #defines handled by the configuration system instead.
git-svn-id: svn://10.0.0.236/trunk@17182 18797224-902f-48f8-a5cc-f745e15eee43
|
1999-01-05 21:07:57 +00:00 |
|
scc%netscape.com
|
e9d8de921a
|
added |dont_QueryInterface| facility, re-added the NS_ADDREF macros, though conditionally
git-svn-id: svn://10.0.0.236/trunk@16781 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-12-21 23:26:39 +00:00 |
|
scc%netscape.com
|
a5e6d7e9b5
|
NSCAP_FEATURE_DONT_ADDREF is no longer optional, and the symbol has gone away. This facility turns out to be needed. Also catch the case when operator= is called on a dereferenced smart pointer. Fixed some documentation.
git-svn-id: svn://10.0.0.236/trunk@16638 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-12-18 03:45:44 +00:00 |
|
scc%netscape.com
|
bc7994a1ef
|
enabled the dont_AddRef feature, for when functions return an already AddRefed result, e.g. |mSmartPtr = dont_AddRef(GetThing());|
git-svn-id: svn://10.0.0.236/trunk@16597 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-12-17 19:32:00 +00:00 |
|
scc%netscape.com
|
113beb03ea
|
First Checked In.
git-svn-id: svn://10.0.0.236/trunk@16591 18797224-902f-48f8-a5cc-f745e15eee43
|
1998-12-17 19:12:45 +00:00 |
|