Browse Source Download (without any required ccan dependencies)

Module:

tal/talloc

Summary:

an implementation of the tal interface in terms of talloc.

Dependencies:

External dependencies:

Description:

Tal and talloc are both hierarchical allocators, but have different APIs. The tal API is mostly a subset of talloc, but if your project already uses talloc then having both tal and talloc pointers is confusing, and a waste of resources.

The standard convention to tell ccan modules to use this instead of ccan/tal is to define TAL_USE_TALLOC, usually on the commandline.

License:

LGPL