[asterisk-commits] seanbright: branch group/bindings r324909 - in /team/group/bindings/res: bind...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sat Jun 25 12:29:43 CDT 2011


Author: seanbright
Date: Sat Jun 25 12:29:34 2011
New Revision: 324909

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324909
Log:
And now it compiles, but not in dev mode

Modified:
    team/group/bindings/res/bindings/asterisk.c
    team/group/bindings/res/python/channel.c

Modified: team/group/bindings/res/bindings/asterisk.c
URL: http://svnview.digium.com/svn/asterisk/team/group/bindings/res/bindings/asterisk.c?view=diff&rev=324909&r1=324908&r2=324909
==============================================================================
--- team/group/bindings/res/bindings/asterisk.c (original)
+++ team/group/bindings/res/bindings/asterisk.c Sat Jun 25 12:29:34 2011
@@ -30,6 +30,11 @@
 
 #include "bindings.h"
 
+#ifndef AST_MODULE
+/* XXX HACK */
+#define AST_MODULE "res_python"
+#endif
+
 void ast_log_error(const char *msg)
 {
 	ast_log(LOG_ERROR, "%s\n", msg);

Modified: team/group/bindings/res/python/channel.c
URL: http://svnview.digium.com/svn/asterisk/team/group/bindings/res/python/channel.c?view=diff&rev=324909&r1=324908&r2=324909
==============================================================================
--- team/group/bindings/res/python/channel.c (original)
+++ team/group/bindings/res/python/channel.c Sat Jun 25 12:29:34 2011
@@ -41,7 +41,7 @@
 "   Do stuff!\n"
 "";
 
-static int python_exec(struct ast_channel *chan, void *data)
+static int python_exec(struct ast_channel *chan, const char *data)
 {
 	PyThreadState *my_thread_state;
 	PyObject *func_obj = NULL, *mod_obj = NULL, *fn_obj = NULL,




More information about the asterisk-commits mailing list