[ Email questions or comments ] [ Join the mailing list ]
Modules | |
| Algorithms | |
| Byte Order | |
| Return Codes | |
Defines | |
| #define | phALLOW_OLD_MACROS 0 |
| #define | fileno _fileno |
| #define | fdopen _fdopen |
| #define | M_PI 3.14159265358979323846 |
| #define | round rint |
| #define | cosf cos |
| #define | sinf sin |
| #define | acosf acos |
| #define | asinf asin |
| #define | srandom srand |
| #define | random rand |
| #define | phFUNCTION(name) |
| #define | phTHREADS_EQUAL(x, y) (x == y) |
| #define | phSET_MIN(a, b) if (a > b) a = b; |
| #define | phSET_MAX(a, b) if (a < b) a = b; |
| #define | phXOR_SWAP(x, y) { x = x ^ y; y = x ^ y; x = x ^ y; } |
| #define | phSWAP(a, b) { int itemp=(a);(a)=(b);(b)=itemp; } |
| #define | phCLIP(x) ((x) < 0) ? 0 : ((x) > 255) ? 255 : (x) |
| #define | phCOMP3(a, b, c, x) |
| #define | phMIN3(a, b, c) phCOMP3(a,b,c,<) |
| #define | phMAX3(a, b, c) phCOMP3(a,b,c,>) |
| #define | phMIN(a, b) ((a < b) ? a : b) |
| #define | phMAX(a, b) ((a > b) ? a : b) |
| #define | phHAVE(name) |
| #define | INT32_MAX 2147483647 |
Functions | |
| int | ph_file_lock (FILE *f) |
| int | ph_file_unlock (FILE *f) |
| int | round (double x) |
| uintmax_t | phGetCurrentThreadId (void) |
| void | phYield (void) |
| uintmax_t | phProcessId (void) |
| int | phStringCopy (const char *string, const uint32_t maxlen, char **copy, uint32_t *copy_size, char *default_str) |
| Copyright (C) 2002 - 2007 |
Philip D.S. Thoren ( pthoren@users.sourceforge.net ) University Of Massachusetts at Lowell Robotics Lab |
|
1.4.4