MemoryManager-Object impl

Implements unittest of MemoryManager-Object.

Summary
MemoryManager-Object implImplements unittest of MemoryManager-Object.
CopyrightThis program is free software.
C-kern/api/memory/mm/mm.hHeader file of MemoryManager-Object.
C-kern/memory/mm/mm.cImplements unittest MemoryManager-Object impl.
test
test_initfreeTest lifetime functions of mm_t and mm_it.
test_callTest call functions of mm_t.

Copyright

This program 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 2 of the License, or (at your option) any later version.

This program 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 General Public License for more details.

Author

© 2012 Jörg Seebohn

C-kern/api/memory/mm/mm.h

Header file of MemoryManager-Object.

C-kern/memory/mm/mm.c

Implements unittest MemoryManager-Object impl.

test

test_initfree

static int test_initfree(void)

Test lifetime functions of mm_t and mm_it.

test_call

static int test_call(void)

Test call functions of mm_t.

Defines interfaceable object which offers memory manager functionality.
Implements unittest of MemoryManager-Object.
static int test_initfree(void)
Test lifetime functions of mm_t and mm_it.
iobj_DECLARE(mm_t,
mm)
Uses iobj_DECLARE to declare interfaceable object.
struct mm_it
The function table describing the interface to a memory manager.
static int test_call(void)
Test call functions of mm_t.
Close