create directories branches, tags, trunk
[lttv.git] / ltt / branches / poly / lttv / modules / examples / samplemodule.c
index e64ab2f45bee49f8b7bcda273611df43a68c92d2..6e676d5ce10991e5e1259b19661a60ef316822e2 100644 (file)
@@ -2,14 +2,21 @@
 
 /* Created by Mathieu Desnoyers, may 2003 */
 
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <glib.h>
-#include <gmodule.h>
+#include <lttv/module.h>
 
-G_MODULE_EXPORT void init() {
+static void init() {
        g_critical("Sample module init()");
 }
 
-G_MODULE_EXPORT void destroy() {
+static void destroy() {
        g_critical("Sample module destroy()");
 }
-       
+
+
+LTTV_MODULE("sampledep", "Medium...", "Long...", init, destroy, {})
+
This page took 0.022903 seconds and 4 git commands to generate.