This commit is contained in:
azw 2023-05-08 10:58:56 +00:00
parent 466448796d
commit 543969a5e8
2 changed files with 49 additions and 0 deletions

28
a8/orderbuffer.cc Normal file
View File

@ -0,0 +1,28 @@
#include <a8/a8.h>
#include <a8/orderbuffer.h>
namespace a8
{
OrderBuffer::OrderBuffer(int buf_len)
{
}
OrderBuffer::~OrderBuffer()
{
}
char* OrderBuffer::Alloc(int len)
{
}
void OrderBuffer::Free(char* p)
{
}
}

21
a8/orderbuffer.h Normal file
View File

@ -0,0 +1,21 @@
#pragma once
namespace a8
{
class OrderBuffer
{
public:
OrderBuffer(int buf_len);
~OrderBuffer();
char* Alloc(int len);
void Free(char* p);
private:
char* buf_ = nullptr;
int buf_len_ = 0;
};
}