[Freeswitch-trunk] [commit] r3801 - freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan

Freeswitch SVN mikej at freeswitch.org
Fri Dec 22 14:37:14 EST 2006


Author: mikej
Date: Fri Dec 22 14:37:13 2006
New Revision: 3801

Modified:
   freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c

Log:
avoid namespace collision.

Modified: freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c
==============================================================================
--- freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c	(original)
+++ freeswitch/trunk/src/mod/languages/mod_spidermonkey_etpan/mod_spidermonkey_etpan.c	Fri Dec 22 14:37:13 2006
@@ -223,7 +223,7 @@
 	{0}
 };
 
-switch_status_t spidermonkey_load(JSContext *cx, JSObject *obj)
+switch_status_t etpan_load(JSContext *cx, JSObject *obj)
 {
 	JS_DefineFunctions(cx, obj, etpan_functions);
 
@@ -244,7 +244,7 @@
 
 const sm_module_interface_t etpan_module_interface = {
 	/*.name = */ modname,
-	/*.spidermonkey_load*/ spidermonkey_load,
+	/*.spidermonkey_load*/ etpan_load,
 	/*.next*/ NULL
 };
 



More information about the Freeswitch-trunk mailing list