Main Page   Modules   Class Hierarchy   Data Structures   File List   Data Fields   Globals   Related Pages  

oscl_base_macros.h File Reference

This file defines common macros and constants for basic compilation support. More...

#include "osclconfig.h"

Go to the source code of this file.

Defines

#define NULL_TERM_CHAR   '\0'
 The NULL_TERM_CHAR is used to terminate c-style strings.

#define NULL   (0)
 if the NULL macro isn't already defined, then define it as zero.

#define OSCL_INLINE   inline
#define OSCL_COND_EXPORT_REF
#define OSCL_COND_IMPORT_REF
#define OSCL_CONST_CAST(type, exp)   ((type)(exp))
 Type casting macros.

#define OSCL_STATIC_CAST(type, exp)   ((type)(exp))
#define OSCL_REINTERPRET_CAST(type, exp)   ((type)(exp))
#define OSCL_DYNAMIC_CAST(type, exp)   ((type)(exp))
#define OSCL_VIRTUAL_BASE(type)   type
#define OSCL_UNUSED_ARG(vbl)   (void)(vbl)
#define OSCL_UNUSED_RETURN(value)   return value
#define OSCL_MIN(a, b)   ((a) < (b) ? (a) : (b))
#define OSCL_MAX(a, b)   ((a) > (b) ? (a) : (b))
#define OSCL_ABS(a)   ((a) > (0) ? (a) : -(a))
#define OSCL_TEMPLATED_DESTRUCTOR_CALL(type, simple_type)   type :: ~simple_type ()
#define OSCL_UNSIGNED_CONST(x)   x
#define OSCL_PACKED_VAR   "error"


Detailed Description

This file defines common macros and constants for basic compilation support.


OSCL API
Posting Version: CORE_8.000.1.1_RC4