Annotation of parser3/src/targets/apache13/modules/extra/pa_pool.C, revision 1.4

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: 
1.4     ! paf         6:        $Id: pa_pool.C,v 1.3 2001/03/21 17:16:34 paf Exp $
1.2       paf         7: */
                      8: 
1.4     ! paf         9: //#include <stdlib.h>
1.2       paf        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) {
1.3       paf        20:        return ap_pcalloc((pool*)fstorage, size);
1.2       paf        21: }
1.4     ! paf        22: 
        !            23: /// not freeng up anything: that would do the apache memory pool manager
        !            24: Pool::~Pool() {
        !            25: }

E-mail: