Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00024 
00025 #ifndef ICL_CORE_OS_MEM_H_INCLUDED
00026 #define ICL_CORE_OS_MEM_H_INCLUDED
00027 
00028 #include "icl_core/os_ns.h"
00029 
00030 #if defined _SYSTEM_POSIX_
00031 # include "icl_core/os_posix_mem.h"
00032 #elif defined _SYSTEM_WIN32_
00033 # include "icl_core/os_win32_mem.h"
00034 #else
00035 # error "No os_mem implementation defined for this platform."
00036 #endif
00037 
00038 namespace icl_core {
00039 namespace os {
00040 
00041 inline void *memcpy(void *dest, void *src, size_t count)
00042 {
00043   return ICL_CORE_OS_IMPL_NS::memcpy(dest, src, count);
00044 }
00045 
00046 inline void *memset(void *dest, int c, size_t count)
00047 {
00048   return ICL_CORE_OS_IMPL_NS::memset(dest, c, count);
00049 }
00050 
00051 }
00052 }
00053 
00054 #endif