Mercurial > code
comparison module.h @ 33:23a3ebcbf08e
Return a module instead of an int
author | David Demelier <markand@malikania.fr> |
---|---|
date | Sun, 25 Sep 2011 19:16:21 +0200 |
parents | 726b181b8956 |
children | f773c76b1f3c |
comparison
equal
deleted
inserted
replaced
32:ed6ae3b865c9 | 33:23a3ebcbf08e |
---|---|
42 void *handler; | 42 void *handler; |
43 void *sym; | 43 void *sym; |
44 #endif | 44 #endif |
45 }; | 45 }; |
46 | 46 |
47 int module_load(struct module *, const char *, int); | 47 struct module *module_load(const char *, int); |
48 int module_find(struct module *, const char *); | 48 int module_find(struct module *, const char *); |
49 void module_free(struct module *); | 49 void module_free(struct module *); |
50 | 50 |
51 #endif /* _MODULE_H_ */ | 51 #endif /* _MODULE_H_ */ |