ctx = o->internal;
switch (event_type) {
case DF_TRIGGER:
- /* TODO */
+ /* TODO: can a trigger mark be in a gnuplot data file? */
break;
case DF_END:
- *data_out = NULL;
- *length_out = 0;
free(o->internal);
o->internal = NULL;
break;
}
+ *data_out = NULL;
+ *length_out = 0;
+
return SIGROK_OK;
}
struct output_format output_gnuplot = {
"gnuplot",
"Gnuplot",
+ DF_LOGIC,
init,
data,
event,