📄 wpcbuffal.comp.dwpt.2d.lib
字号:
WPCBUFFAL - routines to allocate/initialize and free buffersbuffAlloc1 - allocate a 1D buffer of size n and initializebuffRealloc1 - reallocate a 1D buffer of size to n and set the position to end of buffer if n is less than buff->pos buffFree1 - free a 1D bufferbuffAlloc2 - allocate an array[n1] of buffers each with size n2 and initializebuffFree2 - free a 2D bufferFunction Prototypes:void *buffAlloc1(int n)void buffRealloc1(void *inbuff, int n)void buffFree1(void *inbuff)void **buffAlloc2(int n1, int n2)void buffFree2(void **inbuff, int n1)buffAlloc1:Input:n size of bufferReturn:pointer to (void *)buffRealloc1:Input:inbuff buffer to be reallocatedn new sizebuffFree1:Input:inbuff buffer to be freedbuffAlloc2:n1 number of buffers in the arrayn2 size of each bufferbuffFree2:inbuff buffer array to be freedn1 number of buffers to be freedAuthor: CWP: Tong Chen, 1994
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -