#include "CSL_Types.h"
#include <stdarg.h>
Go to the source code of this file.
Namespaces | |
| namespace | csl |
Classes | |
| class | csl::CGestalt |
Defines | |
| #define | SAFE_MALLOC(ptr, type, len) |
| #define | kLogInfo 0 |
| #define | kLogWarning 1 |
| #define | kLogError 2 |
| #define | kLogFatal 3 |
Typedefs | |
| typedef int | csl::LogLevel |
Functions | |
| void | csl::logMsg (char *format,...) |
| void | csl::logMsg (LogLevel level, char *format,...) |
| void | csl::vlogMsg (char *format, va_list args) |
| void | csl::vlogMsg (LogLevel level, char *format, va_list args) |
| void | csl::sleepUsec (float dur_in_usec) |
| void | csl::sleepMsec (float dur_in_msec) |
| void | csl::sleepSec (float dur_in_sec) |
| float | csl::fRand (void) |
|
|
Value: (type *) ptr = (type *) malloc(len); \
if ((char *) ptr == NULL) \
throw MemoryError("can't allocate buffer");
|
|
|
Logging functions are standard C functions |
|
|
|
|
|
|
|
|
|
1.4.5-20051010