Changeset 1567 in svn for trunk/mod_cacher/xc_cacher.c


Ignore:
Timestamp:
2014-11-11T17:10:13Z (5 years ago)
Author:
Xuefer
Message:

use vector for objects/object_handles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mod_cacher/xc_cacher.c

    r1566 r1567  
    28282828        XG(php_holds) = calloc(XG(php_holds_size), sizeof(xc_vector_t));
    28292829        for (i = 0; i < xc_php_hcache.size; i ++) {
    2830             xc_vector_pinit(xc_entry_php_t *, &XG(php_holds[i]));
     2830            xc_vector_init_persistent(xc_entry_php_t *, &XG(php_holds[i]));
    28312831        }
    28322832    }
     
    28362836        XG(var_holds) = calloc(XG(var_holds_size), sizeof(xc_vector_t));
    28372837        for (i = 0; i < xc_var_hcache.size; i ++) {
    2838             xc_vector_pinit(xc_entry_php_t *, &XG(var_holds[i]));
     2838            xc_vector_init_persistent(xc_entry_php_t *, &XG(var_holds[i]));
    28392839        }
    28402840    }
Note: See TracChangeset for help on using the changeset viewer.