Annotation of parser3/src/targets/apache13/modules/extra/pa_pool.C, revision 1.2
1.2 ! paf 1: /*
! 2: Parser
! 3: Copyright (c) 2001 ArtLebedev Group (http://www.artlebedev.com)
! 4: Author: Alexander Petrosyan <paf@design.ru> (http://design.ru/paf)
! 5:
! 6: $Id: pa_pool.C,v 1.1.2.1 2001/03/21 13:58:36 paf Exp $
! 7: */
! 8:
! 9: #include <stdlib.h>
! 10:
! 11: #include "httpd.h"
! 12:
! 13: #include "pa_pool.h"
! 14:
! 15: void *Pool::real_malloc(size_t size) {
! 16: return ap_palloc((pool*)fstorage, size);
! 17: }
! 18:
! 19: void *Pool::real_calloc(size_t size) {
! 20: return ap_pcalloc((pool*)fstorage, size/*, 1*/);
! 21: }
E-mail: