Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/common/base/etMemory_FreeList.h')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/common/base/etMemory_FreeList.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/common/base/etMemory_FreeList.h b/runtime/org.eclipse.etrice.runtime.c/src/common/base/etMemory_FreeList.h
index 3f46272cf..b5842d523 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/common/base/etMemory_FreeList.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/common/base/etMemory_FreeList.h
@@ -1,35 +1,35 @@
-/*******************************************************************************
- * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Henrik Rentz-Reichert (initial contribution)
- *
- *******************************************************************************/
-
-#ifndef _ETMEMORY_FREE_LIST_H_
-#define _ETMEMORY_FREE_LIST_H_
-
-#include "base/etMemory.h"
-
-/**
- * initializes the free list memory management on the given heap
- *
- * \param heap pointer to the heap to be managed
- * \param size the size in bytes of the heap
- * \param nslots the number of slots to be used (should be greater or equal the number of different object sizes)
- *
- * \return the pointer to the initialized etMemory struct
- */
-
-etMemory* etMemory_FreeList_init(void* heap, etUInt32 size, etUInt16 nslots);
-
-etUInt32 etMemory_FreeList_freeHeapMem(void* heap);
-etUInt16 etMemory_FreeList_nObjects(void* heap, etUInt16 slot);
-etUInt16 etMemory_FreeList_sizeObjects(void* heap, etUInt16 slot);
-etUInt16 etMemory_FreeList_freeSlots(void* heap);
-
-#endif /* _ETMEMORY_FREE_LIST_H_ */
+/*******************************************************************************
+ * Copyright (c) 2012 protos software gmbh (http://www.protos.de).
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * CONTRIBUTORS:
+ * Henrik Rentz-Reichert (initial contribution)
+ *
+ *******************************************************************************/
+
+#ifndef _ETMEMORY_FREE_LIST_H_
+#define _ETMEMORY_FREE_LIST_H_
+
+#include "base/etMemory.h"
+
+/**
+ * initializes the free list memory management on the given heap
+ *
+ * \param heap pointer to the heap to be managed
+ * \param size the size in bytes of the heap
+ * \param nslots the number of slots to be used (should be greater or equal the number of different object sizes)
+ *
+ * \return the pointer to the initialized etMemory struct
+ */
+
+etMemory* etMemory_FreeList_init(void* heap, etUInt32 size, etUInt16 nslots);
+
+etUInt32 etMemory_FreeList_freeHeapMem(void* heap);
+etUInt16 etMemory_FreeList_nObjects(void* heap, etUInt16 slot);
+etUInt16 etMemory_FreeList_sizeObjects(void* heap, etUInt16 slot);
+etUInt16 etMemory_FreeList_freeSlots(void* heap);
+
+#endif /* _ETMEMORY_FREE_LIST_H_ */

Back to the top