From 7acd25212c33eade9aa94bd9573221822b10188b Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 5 Feb 2012 17:35:45 +1000 Subject: Move the heavy lifting part of luaproc message sending to it's own function. --- libraries/luaproc/luaproc.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libraries/luaproc/luaproc.h') diff --git a/libraries/luaproc/luaproc.h b/libraries/luaproc/luaproc.h index 4c71685..d700e86 100644 --- a/libraries/luaproc/luaproc.h +++ b/libraries/luaproc/luaproc.h @@ -76,6 +76,9 @@ void luaproc_register_lib( lua_State *L ); /* queue a luaproc that tried to send a message */ void luaproc_queue_sender( luaproc lp ); + +const char *sendToChannel(const char *chname, const char *message); + /* queue a luaproc that tried to receive a message */ void luaproc_queue_receiver( luaproc lp ); -- cgit v1.1