pjsua_pool_create method

Pointer<pj_pool_t> pjsua_pool_create(
  1. Pointer<Char> name,
  2. int init_size,
  3. int increment
)

Create memory pool to be used by the application. Once application finished using the pool, it must be released with pj_pool_release().

@param name Optional pool name. @param init_size Initial size of the pool. @param increment Increment size.

@return The pool, or NULL when there's no memory.

Implementation

ffi.Pointer<pj_pool_t> pjsua_pool_create(
  ffi.Pointer<ffi.Char> name,
  int init_size,
  int increment,
) {
  return _pjsua_pool_create(
    name,
    init_size,
    increment,
  );
}