1 #ifndef ORDER_EXAMPLE_LAMBDA_CHECKED_MALLOC_H_VAJK20040620
2 #define ORDER_EXAMPLE_LAMBDA_CHECKED_MALLOC_H_VAJK20040620
4 // (C) Copyright Vesa Karvonen 2004.
6 // Distributed under the Boost Software License, Version 1.0.
7 // (See accompanying file LICENSE.)
11 // `checked_malloc(size)' allocates a new block of memory of `size'
12 // bytes from a garbage collected heap. If `size' is negative or the
13 // allocation fails, the program will be exited with an error
15 extern void* checked_malloc(ptrdiff_t size
);