⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ip51_dm_extr.h

📁 基于51的动态内存管理
💻 H
字号:
/*************************************************************************/
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This file contains function prototypes of all functions          */
/*      accessible to other components.                                  */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* FUNCTIONS                                                             */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      dm_defs.h                           Dynamic Management constants */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         DATE                   REMARKS                                */
/*                                                                       */
/**************************************************************************/

#include        "ip51_dm_defs.h"                 /* Include DM constants      */


/* Check to see if the file has been included already.  */

#ifndef DM_EXTR
#define DM_EXTR


/*  Initialization functions.  */

void            DMI_Initialize(void);

/* Core processing functions.  */

STATUS          IP51_DMC_Create_Memory_Pool(IP51_MEMORY_POOL *pool_ptr, char *name, 
                        void *start_address, unsigned int pool_size,
                        unsigned int min_allocation);
STATUS          IP51_DMC_Delete_Memory_Pool(IP51_MEMORY_POOL *pool_ptr);
STATUS          IP51_DMC_Allocate_Memory(IP51_MEMORY_POOL *pool_ptr, 
                     void **return_pointer, unsigned int size);
STATUS          IP51_DMC_Deallocate_Memory(void *memory);

#endif






⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -