prtypes.h File Reference
#include <stddef.h>
#include <prtypes.h>
Go to the source code of this file.
Define Documentation
#define NSPR_API |
( |
__type |
|
) |
PR_IMPORT(__type) |
#define NSPR_BEGIN_EXTERN_C |
#define NSPR_BEGIN_MACRO do { |
#define NSPR_DATA_API |
( |
__type |
|
) |
PR_IMPORT_DATA(__type) |
#define NSPR_END_EXTERN_C |
#define NSPR_END_MACRO } while (0) |
#define PR_ABS |
( |
x |
|
) |
((x)<0?-(x):(x)) |
#define PR_BEGIN_EXTERN_C |
#define PR_BEGIN_MACRO do { |
#define PR_BIT |
( |
n |
|
) |
((PRUint32)1 << (n)) |
#define PR_BITMASK |
( |
n |
|
) |
(PR_BIT(n) - 1) |
#define PR_END_MACRO } while (0) |
#define PR_EXPORT |
( |
__type |
|
) |
extern PR_VISIBILITY_DEFAULT __type |
#define PR_EXPORT_DATA |
( |
__type |
|
) |
extern PR_VISIBILITY_DEFAULT __type |
#define PR_EXTERN |
( |
__type |
|
) |
extern PR_VISIBILITY_DEFAULT __type |
#define PR_EXTERN_DATA |
( |
__type |
|
) |
extern PR_VISIBILITY_DEFAULT __type |
Definition at line 417 of file prtypes.h.
Referenced by nsCharSetProber::FilterWithEnglishLetters(), nsCharSetProber::FilterWithoutEnglishLetters(), nsUniversalDetector::HandleData(), nsSBCSGroupProber::HandleData(), nsMBCSGroupProber::HandleData(), nsSBCSGroupProber::nsSBCSGroupProber(), nsUniversalDetector::nsUniversalDetector(), nsUniversalDetector::Reset(), nsSBCSGroupProber::Reset(), nsMBCSGroupProber::Reset(), JapaneseContextAnalysis::Reset(), and CharDistributionAnalysis::Reset().
#define PR_IMPLEMENT |
( |
__type |
|
) |
PR_VISIBILITY_DEFAULT __type |
#define PR_IMPLEMENT_DATA |
( |
__type |
|
) |
PR_VISIBILITY_DEFAULT __type |
#define PR_IMPORT |
( |
__type |
|
) |
extern PR_VISIBILITY_DEFAULT __type |
#define PR_IMPORT_DATA |
( |
__type |
|
) |
extern PR_VISIBILITY_DEFAULT __type |
#define PR_INT16_MAX 32767 |
#define PR_INT16_MIN (-32768) |
#define PR_INT32_MAX PR_INT32(2147483647) |
#define PR_INT32_MIN (-PR_INT32_MAX - 1) |
#define PR_INT8_MIN (-128) |
#define PR_MAX |
( |
x, |
|
|
y |
|
) |
((x)>(y)?(x):(y)) |
#define PR_MIN |
( |
x, |
|
|
y |
|
) |
((x)<(y)?(x):(y)) |
#define PR_PUBLIC_API PR_IMPLEMENT |
#define PR_ROUNDUP |
( |
x, |
|
|
y |
|
) |
((((x)+((y)-1))/(y))*(y)) |
#define PR_STATIC_CALLBACK |
( |
__x |
|
) |
static __x |
Definition at line 416 of file prtypes.h.
Referenced by nsUniversalDetector::DataEnd(), nsCharSetProber::FilterWithEnglishLetters(), nsCharSetProber::FilterWithoutEnglishLetters(), nsUniversalDetector::HandleData(), nsMBCSGroupProber::HandleData(), JapaneseContextAnalysis::HandleData(), JapaneseContextAnalysis::HandleOneChar(), nsSBCSGroupProber::nsSBCSGroupProber(), nsUniversalDetector::nsUniversalDetector(), nsUniversalDetector::Reset(), nsSBCSGroupProber::Reset(), and nsMBCSGroupProber::Reset().
#define PR_UINT16_MAX 65535U |
#define PR_UINT32 |
( |
x |
|
) |
x ## U |
#define PR_UINT32_MAX PR_UINT32(4294967295) |
#define PR_UINT8_MAX 255U |
#define PR_VISIBILITY_DEFAULT |
Typedef Documentation
Enumeration Type Documentation
Variable Documentation
PR_BEGIN_EXTERN_C typedef unsigned char PRUint8 |