// Copyright (c) 2003-2014, LogMeIn, Inc. All rights reserved. // This is part of Xively C library, it is under the BSD 3-Clause license. #ifndef __XI_ALLOCATOR_STDLIB_H__ #define __XI_ALLOCATOR_STDLIB_H__ #include #ifdef __cplusplus extern "C" { #endif static inline void* xi_alloc( size_t b ) { return ( void* ) malloc( b ); } static inline void xi_free( void* p ) { free( p ); } #ifdef __cplusplus } #endif #endif // __XI_ALLOCATOR_STDLIB_H__