00001 #ifndef _ALLOCA_H 00002 #define _ALLOCA_H 00003 00004 /** 00005 * @file 00006 * 00007 * Temporary memory allocation 00008 * 00009 */ 00010 00011 #include <stdint.h> 00012 00013 /** 00014 * Allocate temporary memory from the stack 00015 * 00016 * @v size Size to allocate 00017 * @ret ptr Allocated memory 00018 * 00019 * This memory will be freed automatically when the containing 00020 * function returns. There are several caveats regarding use of 00021 * alloca(); use it only if you already know what they are. 00022 */ 00023 #define alloca(size) __builtin_alloca ( size ) 00024 00025 #endif /* _ALLOCA_H */
1.5.7.1