Annotation of parser3/src/targets/isapi/pa_pool.C, revision 1.2
1.2 ! paf 1: /** @file
! 2: Parser: ISAPI memory manager impl.
! 3:
1.1 paf 4: Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
1.2 ! paf 5:
1.1 paf 6: Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
7:
1.2 ! paf 8: $Id: pa_pool.C,v 1.1 2001/03/22 15:30:49 paf Exp $
1.1 paf 9: */
10:
11: #include <stdlib.h>
12:
13: #include "pa_pool.h"
14:
15: void *Pool::real_malloc(size_t size) {
16: // todo: log
17: return ::malloc(size);
18: }
19:
20: void *Pool::real_calloc(size_t size) {
21: // todo: log
22: return ::calloc(size, 1);
23: }
24:
25: Pool::~Pool() {
26: // todo: free
27: }
E-mail: