projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
makefile
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
examples
/
sampledep.c
diff --git
a/ltt/branches/poly/lttv/modules/examples/sampledep.c
b/ltt/branches/poly/lttv/modules/examples/sampledep.c
index 805c52837b1ef9af23739b3f404e0ce167d1070c..dd64c9f4106e4d12d0e2e4a061df08b326182254 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/examples/sampledep.c
+++ b/
ltt/branches/poly/lttv/modules/examples/sampledep.c
@@
-8,14
+8,13
@@
/* Include module.h from lttv headers for module loading */
#include <lttv/module.h>
/* Include module.h from lttv headers for module loading */
#include <lttv/module.h>
-G_MODULE_EXPORT void init() {
+G_MODULE_EXPORT void init(
int argc, char * argv[], LttvModule *self
) {
g_critical("Sample module dependant init()");
g_critical("Sample module dependant init()");
- lttv_module_
load("samplemodule",0,NULL,DEPENDANT
);
+ lttv_module_
require(self, "samplemodule",argc,argv
);
}
G_MODULE_EXPORT void destroy() {
g_critical("Sample module dependant destroy()");
}
G_MODULE_EXPORT void destroy() {
g_critical("Sample module dependant destroy()");
- lttv_module_unload_name("samplemodule",DEPENDANT);
}
}
This page took
0.026864 seconds
and
4
git commands to generate.