Add structures
[babeltrace.git] / formats / ctf / types / struct.c
index 8d248da146bac3d109e77edec789b3a0ade39d25..729c456e63c5769663ce720fadf7aa7a2b7e0ccb 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.022642 seconds and 4 git commands to generate.