mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-24 20:52:22 +00:00
11 lines
306 B
C
11 lines
306 B
C
// Copyright © 2017 ChaiShushan <chaishushan{AT}gmail.com>.
|
|
// License: https://creativecommons.org/licenses/by-nc-sa/4.0/
|
|
|
|
typedef struct MyBuffer_T MyBuffer_T;
|
|
|
|
MyBuffer_T* NewMyBuffer(int size);
|
|
void DeleteMyBuffer(MyBuffer_T* p);
|
|
|
|
char* MyBuffer_Data(MyBuffer_T* p);
|
|
int MyBuffer_Size(MyBuffer_T* p);
|