extern int bp_library_init

(blw_fp_malloc, blw_fp_free)

Initializes the wrapper library.

Documentation

Initializes the wrapper library.

This must be the first library function called. The parameters initialize the memory management library, which is also used by other libraries such as the hash table library, the linked list library, and so forth. The parameters are stored in global variables, so it isn't possible to use different allocators for different purposes.

Parameters:
blw_fp_malloc - A pointer to the malloc-compatible function the wrapper should use for all its memory allocation needs.
blw_fp_free - A pointer to the free-compatible function the wrapper should use for all its memory allocation needs.
Returns:
BLW_OK or BLW_ERROR.

Home Alphabetic index



This page was generated with the help of DOC++.