mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
I added a little verbage to hashtab for the hashtab_destroy func.
It was pretty sparsely documented. This update fleshes out the pbx_lua module, to add the switch statements to the extensions in the extensions.lua file, as well as removing them when the module is unloaded. Many thanks to Matt Nicholson for his fine contribution! git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@144523 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -198,7 +198,11 @@ struct ast_hashtab * ast_hashtab_create(int initial_buckets,
|
||||
|
||||
/*!
|
||||
* \brief This func will free the hash table and all its memory.
|
||||
* \note It doesn't touch the objects stored in it
|
||||
* \note It doesn't touch the objects stored in it, unless you
|
||||
* specify a destroy func; it will call that func for each
|
||||
* object in the hashtab, remove all the objects, and then
|
||||
* free the hashtab itself. If no destroyfunc is specified
|
||||
* then the routine will assume you will free it yourself.
|
||||
* \param tab
|
||||
* \param objdestroyfunc
|
||||
*/
|
||||
|
Reference in New Issue
Block a user