OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 #ifdef DEBUG | |
6 static const char CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; | |
7 #endif /* DEBUG */ | |
8 | |
9 /* | 5 /* |
10 * tracker.c | 6 * tracker.c |
11 * | 7 * |
12 * This file contains the code used by the pointer-tracking calls used | 8 * This file contains the code used by the pointer-tracking calls used |
13 * in the debug builds to catch bad pointers. The entire contents are | 9 * in the debug builds to catch bad pointers. The entire contents are |
14 * only available in debug builds (both internal and external builds). | 10 * only available in debug builds (both internal and external builds). |
15 */ | 11 */ |
16 | 12 |
17 #ifndef BASE_H | 13 #ifndef BASE_H |
18 #include "base.h" | 14 #include "base.h" |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
406 | 402 |
407 if( (void *)NULL == check ) { | 403 if( (void *)NULL == check ) { |
408 nss_SetError(NSS_ERROR_POINTER_NOT_REGISTERED); | 404 nss_SetError(NSS_ERROR_POINTER_NOT_REGISTERED); |
409 return PR_FAILURE; | 405 return PR_FAILURE; |
410 } | 406 } |
411 | 407 |
412 return PR_SUCCESS; | 408 return PR_SUCCESS; |
413 } | 409 } |
414 | 410 |
415 #endif /* DEBUG */ | 411 #endif /* DEBUG */ |
OLD | NEW |