Annotation of parser3/src/main/pa_memory.C, revision 1.1.2.5.2.2
1.1.2.1 paf 1: /** @file
2: Parser: memory reference counting classes.
3:
4: Copyright (c) 2001-2003 ArtLebedev Group (http://www.artlebedev.com)
5: Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
6: */
7:
1.1.2.5.2.2! paf 8: static const char* IDENT_MEMORY_C="$Date: 2003/03/18 15:14:19 $";
1.1.2.1 paf 9:
1.1.2.5.2.1 paf 10: /*
1.1.2.1 paf 11: #include "pa_exception.h"
1.1.2.5.2.1 paf 12: #include "pa_common.h"*/
1.1.2.1 paf 13: #include "pa_sapi.h"
1.1.2.5 paf 14:
1.1.2.5.2.2! paf 15: void *pa_fail_alloc(const char* what, size_t size) {
1.1.2.3 paf 16: SAPI::abort("out of memory: failed to %s %u bytes",
1.1.2.1 paf 17: what, size);
18:
19: // never reached
20: return 0;
21: }
E-mail: