BarryServer : Git

All the code for all my projects
// BarryServer : Git / libBLOC / commit / b3106d3ca5d418eb70a698902e557178416aba18 / list / list.h

// Related

libBLOC

Barry Initial commit b3106d3 (2 years, 11 months ago)
diff --git a/list/list.h b/list/list.h
new file mode 100644
index 0000000..4336cb8
--- /dev/null
+++ b/list/list.h
@@ -0,0 +1,31 @@
+/*
+ * Copyright (C) 2023 Barry
+ *
+ * This file is part of Barry's Little Objects in C Library (libBLOC).
+ *
+ * libBLOC is free software: you can redistribute it and/or modify it under the
+ * terms of the GNU General Public License as published by the Free Software
+ * Foundation, either version 3 of the License, or (at your option) any later
+ * version.
+ *
+ * libBLOC is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTIBILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along with
+ * libBLOC.  If not, see <https://www.gnu.org/licenses/>.
+ */
+
+#ifndef LIST_H
+#define LIST_H
+
+#include <BLOC/iterator.h>
+
+/* Structure for an object List */
+struct List {
+	struct Iterable header;
+	struct ObjectType *type;
+};
+
+#endif