projects
/
lttv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
required module for textDump : batchAnalysis
[lttv.git]
/
ltt
/
branches
/
poly
/
lttv
/
textDump.c
diff --git
a/ltt/branches/poly/lttv/textDump.c
b/ltt/branches/poly/lttv/textDump.c
index 797e7a12429e8d602257b3eeefffe80a1de8af43..ccc69c07f6aae270bdaf6fa98df3e1d6ce472443 100644
(file)
--- a/
ltt/branches/poly/lttv/textDump.c
+++ b/
ltt/branches/poly/lttv/textDump.c
@@
-196,13
+196,22
@@
static int write_event_content(void *hook_data, void *call_data)
}
}
-//void init(int argc, char **argv)
G_MODULE_EXPORT void init(LttvModule *self, int argc, char **argv)
{
LttvAttributeValue value;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
G_MODULE_EXPORT void init(LttvModule *self, int argc, char **argv)
{
LttvAttributeValue value;
LttvIAttribute *attributes = LTTV_IATTRIBUTE(lttv_global_attributes());
+ LttvModule *batchAnalysis =
+ lttv_module_require(self, "batchAnalysis", argc, argv);
+
+ if(batchAnalysis == NULL)
+ {
+ g_error("Can't load required module batchAnalysis");
+ return;
+ }
+
+
a_string = g_string_new("");
a_file_name = NULL;
a_string = g_string_new("");
a_file_name = NULL;
This page took
0.023236 seconds
and
4
git commands to generate.