diff options
| author | Marius Nita <marius@cs.pdx.edu> | 2003-04-15 04:03:52 +0000 |
|---|---|---|
| committer | Marius Nita <marius@cs.pdx.edu> | 2003-04-15 04:03:52 +0000 |
| commit | 70f63e4c9e6d47a51345d19f40ebf9aebab5553e (patch) | |
| tree | efe115bc7c803f56e4b3945d5089e87571e91216 /obcl/process.c | |
| parent | b72a3853fc86ff9c6c2b4440a27b05f0edb0d70d (diff) | |
more processor bummy
Diffstat (limited to 'obcl/process.c')
| -rw-r--r-- | obcl/process.c | 10 |
1 files changed, 10 insertions, 0 deletions
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); |
