equal
deleted
inserted
replaced
1219 lua_bgreads = g_slist_remove (lua_bgreads, (gpointer) ((gsize) cb->source)); |
1219 lua_bgreads = g_slist_remove (lua_bgreads, (gpointer) ((gsize) cb->source)); |
1220 luaL_free (cb->L, cb); |
1220 luaL_free (cb->L, cb); |
1221 } |
1221 } |
1222 |
1222 |
1223 /// background reading function |
1223 /// background reading function |
1224 /// Function, that processes output from pipe in asynchroneous way. |
1224 /// Function, that processes output from pipe in asynchronous way. |
1225 /// A: string (data) or nil (eof) |
1225 /// A: string (data) or nil (eof) |
1226 /// R: boolean (false if reading should be terminated) |
1226 /// R: boolean (false if reading should be terminated) |
1227 static gboolean lua_bgread_callback (GIOChannel *source, GIOCondition condition, lua_bgread_callback_t *cb) |
1227 static gboolean lua_bgread_callback (GIOChannel *source, GIOCondition condition, lua_bgread_callback_t *cb) |
1228 { |
1228 { |
1229 int ret = TRUE; |
1229 int ret = TRUE; |