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

# osclconfig_memory_check.h

Go to the documentation of this file.

    00001
    00002 #ifndef OSCLCONFIG_MEMORY_CHECK_H_INCLUDED
    00003 #define OSCLCONFIG_MEMORY_CHECK_H_INCLUDED
    00004
    00005
    00012 #ifndef OSCL_BYPASS_MEMMGT
    00013 #error "ERROR: OSCL_BYPASS_MEMMGT has to be defined to either 1 or 0"
    00014 #endif
    00015
    00021 #ifndef OSCL_HAS_ANSI_MEMORY_FUNCS
    00022 #error "ERROR: OSCL_HAS_ANSI_MEMORY_FUNCS has to be defined to either 1 or 0"
    00023 #endif
    00024
    00030 #ifndef OSCL_HAS_SYMBIAN_MEMORY_FUNCS
    00031 #error "ERROR: OSCL_HAS_SYMBIAN_MEMORY_FUNCS has to be defined to either 1 or 0"
    00032 #endif
    00033
    00034 /*
    00035  * OSCL_HAS_HEAP_BASE_SUPPORT macro should be set to 1 for the
    00036  * platforms that allows inheritance from HeapBase class for
    00037  * overloading of new/delete operators.
    00038  */
    00039
    00040 #ifndef OSCL_HAS_HEAP_BASE_SUPPORT
    00041 #error "ERROR: OSCL_HAS_HEAP_BASE_SUPPORT has to be defined to either 1 or 0."
    00042 #endif
    00043
    00044 /*
    00045  * OSCL_HAS_GLOBAL_NEW_DELETE macro should be set to 1 for the
    00046  * platforms that allows overloading of new/delete operators.
    00047  */
    00048
    00049 #ifndef OSCL_HAS_GLOBAL_NEW_DELETE
    00050 #error "ERROR: OSCL_HAS_GLOBAL_NEW_DELETE has to be defined to either 1 or 0."
    00051 #endif
    00052
    00053 #endif // OSCLCONFIG_MEMORY_CHECK_H_INCLUDED
    00054
    00055