Add array
[babeltrace.git] / formats / ctf / types / struct.c
index 8d248da146bac3d109e77edec789b3a0ade39d25..f99cc5390f4200fd5c5f1fb393b08511e49f3d60 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Common Trace Format
  *
- * Structure write/access functions.
+ * Structure format access functions.
  *
  * Copyright (c) 2010 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
  */
 
 #include <babeltrace/ctf/types.h>
-#include <glib.h>
 
+void ctf_struct_begin(struct stream_pos *pos,
+                     const struct type_class_struct *struct_class)
+{
+       align_pos(pos, struct_class->p.alignment);
+}
 
+void ctf_struct_end(struct stream_pos *pos,
+                   const struct type_class_struct *struct_class)
+{
+}
This page took 0.024035 seconds and 4 git commands to generate.