Update documentation for pbx_lua.

Closes issue #11492, patch by mnicholson.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91832 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.6.0
Jason Parker 18 years ago
parent 8093fa188b
commit fc607d5be4

@ -78,9 +78,9 @@ TRUNKMSD = 1
-- channel.func_name(1,2,3):set("value")
-- value = channel.func_name(1,2,3):get()
--
-- channel["func_name(1|2|3)"]:set("value")
-- channel["func_name(1|2|3)"] = "value"
-- value = channel["func_name(1|2|3)"]:get()
-- channel["func_name(1,2,3)"]:set("value")
-- channel["func_name(1,2,3)"] = "value"
-- value = channel["func_name(1,2,3)"]:get()
--
-- Note the use of the ':' operator to access the get() and set()
-- methods.

@ -301,7 +301,7 @@ static int lua_get_variable_value(lua_State *L)
* seen in extensions.lua.
*
* \code
* channel.variable:set()
* channel.variable:set("value")
* \endcode
*/
static int lua_set_variable_value(lua_State *L)

Loading…
Cancel
Save