#include <omnetpp.h>
Defines | |
#define | INET_API OPP_DLLIMPORT |
#define | EV ev.disabled()?std::cout:ev |
#define | CHK(x) __checknull((x), #x, __FILE__, __LINE__) |
Typedefs | |
typedef unsigned short | ushort |
typedef unsigned int | uint |
typedef unsigned long | ulong |
typedef unsigned int | uint32 |
Functions | |
template<class T> | |
T * | __checknull (T *p, const char *expr, const char *file, int line) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
00062 {
00063 if (!p)
00064 opp_error("Expression %s returned NULL at %s:%d",expr,file,line);
00065 return p;
00066 }
|