Jabberd14-1.6.0/jabberd/lib/pool.c/_pool_new_heap

Last-modified: 2007-03-05 (月) 20:36:51

このページを編集する際は,編集に関する方針に従ってください.

概要

  • Jabberd14-1.6.0/jabberd/lib/pool.cにて定義
     * create a new memory pool and set the initial heap size
     * @note you should not call this function but use the macro pool_heap instead which fills zone and line automatically

引数

 * @param size the initial size of the memory pool
 * @param zone the file where this function is called (for debugging)
 * @param line the line in the file where this function is called
 * @return the new memory pool

実装

pool _pool_new_heap(int size, char *zone, int line)
{
    pool p;
    p = _pool_new(zone, line);
    p->heap = _pool_heap(p,size);
    return p;
}

呼出元

#related: relatedプラグインは廃止されました。