~ubuntu-branches/ubuntu/saucy/nspr/saucy-updates

« back to all changes in this revision

Viewing changes to mozilla/nsprpub/pr/include/prtypes.h

  • Committer: Bazaar Package Importer
  • Author(s): Alexander Sack
  • Date: 2009-08-10 11:34:26 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20090810113426-3uv4diflrkcbdimm
Tags: 4.8-0ubuntu1
* New upstream release: 4.8 (LP: #387812)
* adjust patches to changed upstreanm codebase
  - update debian/patches/99_configure.patch
* update shlibs symbols to include new API elements
  - update debian/libnspr4-0d.symbols

Show diffs side-by-side

added added

removed removed

Lines of Context:
112
112
#define PR_CALLBACK_DECL
113
113
#define PR_STATIC_CALLBACK(__x) static __x
114
114
 
115
 
#elif defined(WIN16)
116
 
 
117
 
#define PR_CALLBACK_DECL        __cdecl
118
 
 
119
 
#if defined(_WINDLL)
120
 
#define PR_EXPORT(__type) extern __type _cdecl _export _loadds
121
 
#define PR_IMPORT(__type) extern __type _cdecl _export _loadds
122
 
#define PR_EXPORT_DATA(__type) extern __type _export
123
 
#define PR_IMPORT_DATA(__type) extern __type _export
124
 
 
125
 
#define PR_EXTERN(__type) extern __type _cdecl _export _loadds
126
 
#define PR_IMPLEMENT(__type) __type _cdecl _export _loadds
127
 
#define PR_EXTERN_DATA(__type) extern __type _export
128
 
#define PR_IMPLEMENT_DATA(__type) __type _export
129
 
 
130
 
#define PR_CALLBACK             __cdecl __loadds
131
 
#define PR_STATIC_CALLBACK(__x) static __x PR_CALLBACK
132
 
 
133
 
#else /* this must be .EXE */
134
 
#define PR_EXPORT(__type) extern __type _cdecl _export
135
 
#define PR_IMPORT(__type) extern __type _cdecl _export
136
 
#define PR_EXPORT_DATA(__type) extern __type _export
137
 
#define PR_IMPORT_DATA(__type) extern __type _export
138
 
 
139
 
#define PR_EXTERN(__type) extern __type _cdecl _export
140
 
#define PR_IMPLEMENT(__type) __type _cdecl _export
141
 
#define PR_EXTERN_DATA(__type) extern __type _export
142
 
#define PR_IMPLEMENT_DATA(__type) __type _export
143
 
 
144
 
#define PR_CALLBACK             __cdecl __loadds
145
 
#define PR_STATIC_CALLBACK(__x) __x PR_CALLBACK
146
 
#endif /* _WINDLL */
147
 
 
148
 
#elif defined(XP_MAC)
149
 
 
150
 
#define PR_EXPORT(__type) extern __declspec(export) __type
151
 
#define PR_EXPORT_DATA(__type) extern __declspec(export) __type
152
 
#define PR_IMPORT(__type) extern __declspec(export) __type
153
 
#define PR_IMPORT_DATA(__type) extern __declspec(export) __type
154
 
 
155
 
#define PR_EXTERN(__type) extern __declspec(export) __type
156
 
#define PR_IMPLEMENT(__type) __declspec(export) __type
157
 
#define PR_EXTERN_DATA(__type) extern __declspec(export) __type
158
 
#define PR_IMPLEMENT_DATA(__type) __declspec(export) __type
159
 
 
160
 
#define PR_CALLBACK
161
 
#define PR_CALLBACK_DECL
162
 
#define PR_STATIC_CALLBACK(__x) static __x
163
 
 
164
115
#elif defined(XP_OS2) && defined(__declspec)
165
116
 
166
117
#define PR_EXPORT(__type) extern __declspec(dllexport) __type
396
347
#if PR_BYTES_PER_LONG == 8 && !defined(__APPLE__)
397
348
typedef long PRInt64;
398
349
typedef unsigned long PRUint64;
399
 
#elif defined(WIN16)
400
 
typedef __int64 PRInt64;
401
 
typedef unsigned __int64 PRUint64;
402
350
#elif defined(WIN32) && !defined(__GNUC__)
403
351
typedef __int64  PRInt64;
404
352
typedef unsigned __int64 PRUint64;
504
452
 
505
453
#ifndef __PRUNICHAR__
506
454
#define __PRUNICHAR__
507
 
#if defined(WIN32) || defined(XP_MAC)
 
455
#ifdef WIN32
508
456
typedef wchar_t PRUnichar;
509
457
#else
510
458
typedef PRUint16 PRUnichar;
566
514
#define NSPR_END_EXTERN_C
567
515
#endif
568
516
 
569
 
#ifdef XP_MAC
570
 
#include "protypes.h"
571
 
#else
572
517
#include "obsolete/protypes.h"
573
 
#endif
574
518
 
575
519
/********* ????????????? End Fix me ?????????????????????????????? *****/
576
520
#endif /* NO_NSPR_10_SUPPORT */