mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
23 lines
382 B
C
23 lines
382 B
C
//---
|
|
//
|
|
// standard library module: alloca
|
|
//
|
|
// Allows dynamic memory allocation on the stack. Memory is automatically
|
|
// freed when the calling function exits.
|
|
//
|
|
//---
|
|
|
|
#ifndef _ALLOCA_H
|
|
#define _ALLOCA_H 1
|
|
|
|
#include <stddef.h>
|
|
|
|
/*
|
|
alloca()
|
|
Allocates a memory block on the stack.
|
|
*/
|
|
void *alloca(size_t size);
|
|
|
|
#define alloca(size) __builtin_alloca(size)
|
|
|
|
#endif // _ALLOCA_H
|