From 70f63e4c9e6d47a51345d19f40ebf9aebab5553e Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Tue, 15 Apr 2003 04:03:52 +0000 Subject: more processor bummy --- obcl/process.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'obcl/process.c') diff --git a/obcl/process.c b/obcl/process.c index f79fc631..eb7cafd2 100644 --- a/obcl/process.c +++ b/obcl/process.c @@ -61,6 +61,16 @@ void cl_proc_add_handler_func(CLProc *proc, gchar *str, cl_proc_add_handler(proc, str, ph); } +void cl_proc_add_handler_proc(CLProc *proc, gchar *str, + CLProc *hproc) +{ + CLProcHandler *ph; + + g_assert(proc != NULL); + ph = cl_proc_handler_new_proc(hproc); + cl_proc_add_handler(proc, str, ph); +} + void cl_proc_set_default(CLProc *proc, CLProcHandler *ph) { g_assert(proc != NULL); -- cgit v1.2.3