X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=formats%2Fctf%2Ftypes%2Farray.c;fp=formats%2Fctf%2Ftypes%2Farray.c;h=0133268fc6eba90eb5ae3cccb302649b407f1e2a;hp=0000000000000000000000000000000000000000;hb=d06d03dbf4babd3426818f23770e15058a6876c4;hpb=11796b9629d5a870163e4edd67e457576553aaef diff --git a/formats/ctf/types/array.c b/formats/ctf/types/array.c new file mode 100644 index 00000000..0133268f --- /dev/null +++ b/formats/ctf/types/array.c @@ -0,0 +1,34 @@ +/* + * Common Trace Format + * + * Array format access functions. + * + * Copyright (c) 2010 Mathieu Desnoyers + * + * 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 + +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) +{ +}