projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
time add and sub performance tweaks
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
modules
/
examples
/
samplemodule.c
diff --git
a/ltt/branches/poly/lttv/modules/examples/samplemodule.c
b/ltt/branches/poly/lttv/modules/examples/samplemodule.c
index e64ab2f45bee49f8b7bcda273611df43a68c92d2..3156c9f27397fb5a5b72c8f3092a4ff51fff952f 100644
(file)
--- a/
ltt/branches/poly/lttv/modules/examples/samplemodule.c
+++ b/
ltt/branches/poly/lttv/modules/examples/samplemodule.c
@@
-3,13
+3,16
@@
/* Created by Mathieu Desnoyers, may 2003 */
#include <glib.h>
/* Created by Mathieu Desnoyers, may 2003 */
#include <glib.h>
-#include <
g
module.h>
+#include <
lttv/
module.h>
-
G_MODULE_EXPORT
void init() {
+
static
void init() {
g_critical("Sample module init()");
}
g_critical("Sample module init()");
}
-
G_MODULE_EXPORT
void destroy() {
+
static
void destroy() {
g_critical("Sample module destroy()");
}
g_critical("Sample module destroy()");
}
-
+
+
+LTTV_MODULE("sampledep", "Medium...", "Long...", init, destroy, {})
+
This page took
0.02293 seconds
and
4
git commands to generate.