diff --git a/Makefile.var b/Makefile.var index 9e08132..a030c91 100644 --- a/Makefile.var +++ b/Makefile.var @@ -84,3 +84,11 @@ endif ifeq ($(OPTIM), Y) CFLAGS += -O3 endif + +ifeq ($(LOG_TRACE), YES) + CFLAGS += -D_LOG_TRACE +endif + +ifeq ($(LOG_TRACE), Y) + CFLAGS += -D_LOG_TRACE +endif diff --git a/include/shmem.h b/include/shmem.h index 072c1e3..646d93c 100644 --- a/include/shmem.h +++ b/include/shmem.h @@ -268,6 +268,7 @@ typedef struct { #define SM_Library_Dump SM_Library_Dump_I #define SM_Library_Unlock SM_Library_Unlock_I #define SM_Library_Stderr_Set SM_Library_Stderr_Set_I + #define SM_Heap_Exist SM_Heap_Exist_I #define SM_Heap_Open SM_Heap_Open_I #define SM_Heap_IsOpen SM_Heap_IsOpen_I @@ -278,6 +279,7 @@ typedef struct { #define SM_Heap_Check SM_Heap_Check_I #define SM_Heap_Lock SM_Heap_Lock_I #define SM_Heap_Unlock SM_Heap_Unlock_I + #define SM_Chunk_Alloc SM_Chunk_Alloc_I #define SM_Chunk_Free SM_Chunk_Free_I @@ -291,6 +293,7 @@ typedef struct { #define SM_Library_Dump SM_Library_Dump_C #define SM_Library_Unlock SM_Library_Unlock_C #define SM_Library_Stderr_Set SM_Library_Stderr_Set_C + #define SM_Heap_Exist SM_Heap_Exist_C #define SM_Heap_Open SM_Heap_Open_C #define SM_Heap_IsOpen SM_Heap_IsOpen_C @@ -301,6 +304,7 @@ typedef struct { #define SM_Heap_Check SM_Heap_Check_C #define SM_Heap_Lock SM_Heap_Lock_C #define SM_Heap_Unlock SM_Heap_Unlock_C + #define SM_Chunk_Alloc SM_Chunk_Alloc_C #define SM_Chunk_Free SM_Chunk_Free_C