From: Sebastian B. <sb...@us...> - 2013-12-24 09:17:10
|
Update of /cvsroot/simplemail/simplemail/gtk In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv31700/gtk Modified Files: subthreads.c Log Message: Removed implementation of thread_call_parent_function_async(). Instead, complain that this function hasn't been implemented yet. Index: subthreads.c =================================================================== RCS file: /cvsroot/simplemail/simplemail/gtk/subthreads.c,v retrieving revision 1.44 retrieving revision 1.45 diff -u -d -r1.44 -r1.45 --- subthreads.c 24 Dec 2013 09:16:53 -0000 1.44 +++ subthreads.c 24 Dec 2013 09:17:08 -0000 1.45 @@ -608,22 +608,8 @@ int thread_call_parent_function_async(void *function, int argcount, ...) { - struct ipc_message msg; - va_list argptr; - - va_start(argptr,argcount); - memset(&msg,0,sizeof(msg)); - msg.async = 1; - msg.function = function; - msg.argcount = argcount; - if (argcount--) msg.arg1 = va_arg(argptr, void *); - if (argcount--) msg.arg2 = va_arg(argptr, void *); - if (argcount--) msg.arg3 = va_arg(argptr, void *); - if (argcount--) msg.arg4 = va_arg(argptr, void *); - write(sockets[1],&msg,sizeof(msg)); - va_end(argptr); - - return 0; + fprintf(stderr,"not implemented!"); + exit(1); } /***************************************************************************************/ |