20 lines
298 B
C
Raw Normal View History

2021-10-01 00:21:50 +08:00
#ifndef __DATA_LOG__H
#define __DATA_LOG__H
#include "dataMemory.h"
typedef struct dataLog
{
DMEM *mem;
DMEM *log_mem;
char *log;
int log_size;
void (*print)(struct dataLog *loger, char *str);
void (*deinit)(struct dataLog *loger);
} Loger;
Loger *dataLog_init(void);
#endif