| OLD | NEW | 
|    1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ |    1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ | 
|    2 /* ***** BEGIN LICENSE BLOCK ***** |    2 /* ***** BEGIN LICENSE BLOCK ***** | 
|    3  * Version: MPL 1.1/GPL 2.0/LGPL 2.1 |    3  * Version: MPL 1.1/GPL 2.0/LGPL 2.1 | 
|    4  * |    4  * | 
|    5  * The contents of this file are subject to the Mozilla Public License Version |    5  * The contents of this file are subject to the Mozilla Public License Version | 
|    6  * 1.1 (the "License"); you may not use this file except in compliance with |    6  * 1.1 (the "License"); you may not use this file except in compliance with | 
|    7  * the License. You may obtain a copy of the License at |    7  * the License. You may obtain a copy of the License at | 
|    8  * http://www.mozilla.org/MPL/ |    8  * http://www.mozilla.org/MPL/ | 
|    9  * |    9  * | 
|   10  * Software distributed under the License is distributed on an "AS IS" basis, |   10  * Software distributed under the License is distributed on an "AS IS" basis, | 
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   81 **      PR_IMPLEMENT for the implementation of the method. |   81 **      PR_IMPLEMENT for the implementation of the method. | 
|   82 ** |   82 ** | 
|   83 ** Example: |   83 ** Example: | 
|   84 **   in dowhim.h |   84 **   in dowhim.h | 
|   85 **     PR_EXTERN( void ) DoWhatIMean( void ); |   85 **     PR_EXTERN( void ) DoWhatIMean( void ); | 
|   86 **   in dowhim.c |   86 **   in dowhim.c | 
|   87 **     PR_IMPLEMENT( void ) DoWhatIMean( void ) { return; } |   87 **     PR_IMPLEMENT( void ) DoWhatIMean( void ) { return; } | 
|   88 ** |   88 ** | 
|   89 ** |   89 ** | 
|   90 ***********************************************************************/ |   90 ***********************************************************************/ | 
|   91 #if defined(WIN32) |   91 #if 1 | 
 |   92  | 
 |   93 /* | 
 |   94 ** Chrome-local change: the portions of NSPR used for Chrome are | 
 |   95 ** implementation details of Chrome's base module.  NSPR symbols do not need | 
 |   96 ** to be exported beyond the module in which they are used.  For all | 
 |   97 ** platforms, avoid decorating functions with specific visibility and access | 
 |   98 ** keywords. | 
 |   99 */ | 
 |  100  | 
 |  101 #define PR_EXPORT(__type) extern __type | 
 |  102 #define PR_EXPORT_DATA(__type) extern __type | 
 |  103 #define PR_IMPORT(__type) extern __type | 
 |  104 #define PR_IMPORT_DATA(__type) extern __type | 
 |  105  | 
 |  106 #define PR_EXTERN(__type) extern __type | 
 |  107 #define PR_IMPLEMENT(__type) __type | 
 |  108 #define PR_EXTERN_DATA(__type) extern __type | 
 |  109 #define PR_IMPLEMENT_DATA(__type) __type | 
 |  110  | 
 |  111 #define PR_CALLBACK | 
 |  112 #define PR_CALLBACK_DECL | 
 |  113 #define PR_STATIC_CALLBACK(__x) static __x | 
 |  114  | 
 |  115 #elif defined(WIN32) | 
|   92  |  116  | 
|   93 #define PR_EXPORT(__type) extern __declspec(dllexport) __type |  117 #define PR_EXPORT(__type) extern __declspec(dllexport) __type | 
|   94 #define PR_EXPORT_DATA(__type) extern __declspec(dllexport) __type |  118 #define PR_EXPORT_DATA(__type) extern __declspec(dllexport) __type | 
|   95 #define PR_IMPORT(__type) extern __type |  119 #define PR_IMPORT(__type) extern __type | 
|   96 #define PR_IMPORT_DATA(__type) __declspec(dllimport) __type |  120 #define PR_IMPORT_DATA(__type) __declspec(dllimport) __type | 
|   97  |  121  | 
|   98 #define PR_EXTERN(__type) extern __declspec(dllexport) __type |  122 #define PR_EXTERN(__type) extern __declspec(dllexport) __type | 
|   99 #define PR_IMPLEMENT(__type) __type |  123 #define PR_IMPLEMENT(__type) __type | 
|  100 #define PR_EXTERN_DATA(__type) extern __declspec(dllexport) __type |  124 #define PR_EXTERN_DATA(__type) extern __declspec(dllexport) __type | 
|  101 #define PR_IMPLEMENT_DATA(__type) __declspec(dllexport) __type |  125 #define PR_IMPLEMENT_DATA(__type) __declspec(dllexport) __type | 
| (...skipping 464 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  566 #endif /* NO_NSPR_10_SUPPORT */ |  590 #endif /* NO_NSPR_10_SUPPORT */ | 
|  567  |  591  | 
|  568 PR_END_EXTERN_C |  592 PR_END_EXTERN_C | 
|  569  |  593  | 
|  570 #if !defined(NO_NSPR_10_SUPPORT) |  594 #if !defined(NO_NSPR_10_SUPPORT) | 
|  571 #include "base/basictypes.h" |  595 #include "base/basictypes.h" | 
|  572 #endif |  596 #endif | 
|  573  |  597  | 
|  574 #endif /* prtypes_h___ */ |  598 #endif /* prtypes_h___ */ | 
|  575  |  599  | 
| OLD | NEW |