Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-libxively-6eca970 by
xi_allocator.c
00001 // Copyright (c) 2003-2013, LogMeIn, Inc. All rights reserved. 00002 // This is part of Xively C library, it is under the BSD 3-Clause license. 00003 00004 /** 00005 * \file xi_allocator.c 00006 * \author Olgierd Humenczuk 00007 * \brief Our custom `alloc()` and `free()` [see xi_allocator.h] 00008 */ 00009 00010 #include <stdlib.h> 00011 #include "xi_allocator.h" 00012 00013 void* xi_alloc( size_t b ) 00014 { 00015 return ( void* ) malloc( b ); 00016 } 00017 00018 void xi_free( void* p ) 00019 { 00020 free( p ); 00021 }
Generated on Wed Jul 13 2022 02:16:22 by
1.7.2
