]> git.lizzy.rs Git - cclosure.git/blob - closure.h
Fix obi-wan problem
[cclosure.git] / closure.h
1 #ifndef _CLOSURE_H_
2 #define _CLOSURE_H_
3
4 typedef struct {
5         void *fun;
6         void *ptr;
7         unsigned int arg;
8 } ClosureParam;
9
10 void *closure_create(void *self, ClosureParam *params, size_t num);
11 void closure_destroy(void *closure);
12
13 #endif