Sha256: 354ea35caf255492b8b91396c62532559844fed1ed7ef5ead63fb0d5b94af630
Contents?: true
Size: 1.42 KB
Versions: 7
Compression:
Stored size: 1.42 KB
Contents
/* ========================================== CMock Project - Automatic Mock Generation for C Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams [Released under MIT License. Please refer to license.txt for details] ========================================== */ #ifndef CMOCK_FRAMEWORK_H #define CMOCK_FRAMEWORK_H #include "cmock_internals.h" //should be big enough to index full range of CMOCK_MEM_MAX #ifndef CMOCK_MEM_INDEX_TYPE #define CMOCK_MEM_INDEX_TYPE unsigned int #endif #define CMOCK_GUTS_NONE (0) #define CMOCK_ARG_MODE CMOCK_MEM_INDEX_TYPE #define CMOCK_ARG_ALL 0 #define CMOCK_ARG_NONE ((CMOCK_MEM_INDEX_TYPE)(~0)) //------------------------------------------------------- // Memory API //------------------------------------------------------- CMOCK_MEM_INDEX_TYPE CMock_Guts_MemNew(CMOCK_MEM_INDEX_TYPE size); CMOCK_MEM_INDEX_TYPE CMock_Guts_MemChain(CMOCK_MEM_INDEX_TYPE root_index, CMOCK_MEM_INDEX_TYPE obj_index); CMOCK_MEM_INDEX_TYPE CMock_Guts_MemNext(CMOCK_MEM_INDEX_TYPE previous_item_index); CMOCK_MEM_INDEX_TYPE CMock_Guts_MemEndOfChain(CMOCK_MEM_INDEX_TYPE root_index); void* CMock_Guts_GetAddressFor(CMOCK_MEM_INDEX_TYPE index); CMOCK_MEM_INDEX_TYPE CMock_Guts_MemBytesFree(void); CMOCK_MEM_INDEX_TYPE CMock_Guts_MemBytesUsed(void); void CMock_Guts_MemFreeAll(void); void CMock_Guts_MemFreeFinal(void); #endif //CMOCK_FRAMEWORK
Version data entries
7 entries across 7 versions & 1 rubygems