Add array
[babeltrace.git] / formats / ctf / types / array.c
diff --git a/formats/ctf/types/array.c b/formats/ctf/types/array.c
new file mode 100644 (file)
index 0000000..0133268
--- /dev/null
@@ -0,0 +1,34 @@
+/*
+ * Common Trace Format
+ *
+ * Array format access functions.
+ *
+ * Copyright (c) 2010 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#include <babeltrace/ctf/types.h>
+
+void ctf_array_begin(struct stream_pos *pos,
+                    const struct type_class_array *array_class)
+{
+       /* No need to align, because the first field will align itself. */
+}
+
+void ctf_array_end(struct stream_pos *pos,
+                  const struct type_class_array *array_class)
+{
+}
This page took 0.023004 seconds and 4 git commands to generate.