mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-22 17:12:55 +08:00
20 lines
298 B
C
20 lines
298 B
C
|
#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
|