[asterisk-commits] mnicholson: branch mnicholson/asttest r191365 - /team/mnicholson/asttest/astt...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Apr 30 12:34:57 CDT 2009


Author: mnicholson
Date: Thu Apr 30 12:34:54 2009
New Revision: 191365

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=191365
Log:
Removed '_' prefix from create_work_area() and clean_work_area().

Modified:
    team/mnicholson/asttest/asttest/lua/astlib.c
    team/mnicholson/asttest/asttest/lua/astlib.lua

Modified: team/mnicholson/asttest/asttest/lua/astlib.c
URL: http://svn.digium.com/svn-view/asterisk/team/mnicholson/asttest/asttest/lua/astlib.c?view=diff&rev=191365&r1=191364&r2=191365
==============================================================================
--- team/mnicholson/asttest/asttest/lua/astlib.c (original)
+++ team/mnicholson/asttest/asttest/lua/astlib.c Thu Apr 30 12:34:54 2009
@@ -240,7 +240,7 @@
 }
 
 /*!
- * \brief [lua_CFunction asterisk:_clean_work_area] Clean up the work area for
+ * \brief [lua_CFunction asterisk:clean_work_area] Clean up the work area for
  * this instance.
  * \param L the lua state to use
  *
@@ -265,7 +265,7 @@
 }
 
 /*!
- * \brief [lua_CFunction asterisk:_create_work_area] Create the work area.
+ * \brief [lua_CFunction asterisk:create_work_area] Create the work area.
  * \param L the lua state to use
  *
  * This function copies and symlinks files from the asterisk path to prepare
@@ -536,9 +536,9 @@
 
 static luaL_Reg asterisk_table[] = {
 	{"_new", new_asterisk},
-	{"_clean_work_area", clean_work_area},
-	{"_create_work_area", create_work_area},
 	{"_spawn", spawn_asterisk},
+	{"clean_work_area", clean_work_area},
+	{"create_work_area", create_work_area},
 	{"wait", wait_asterisk},
 	{"term", terminate_asterisk},
 	{"kill", kill_asterisk},

Modified: team/mnicholson/asttest/asttest/lua/astlib.lua
URL: http://svn.digium.com/svn-view/asterisk/team/mnicholson/asttest/asttest/lua/astlib.lua?view=diff&rev=191365&r1=191364&r2=191365
==============================================================================
--- team/mnicholson/asttest/asttest/lua/astlib.lua (original)
+++ team/mnicholson/asttest/asttest/lua/astlib.lua Thu Apr 30 12:34:54 2009
@@ -35,8 +35,8 @@
 end
 
 function asterisk:spawn()
-	self:_clean_work_area()
-	self:_create_work_area()
+	self:clean_work_area()
+	self:create_work_area()
 	self:write_configs()
 	self:_spawn()
 end




More information about the asterisk-commits mailing list