style(header): add config header
This commit is contained in:
parent
7e74a8fd45
commit
329262e47b
3 changed files with 17 additions and 4 deletions
|
@ -2,11 +2,12 @@
|
|||
* @Author: 1ridic
|
||||
* @Date: 2022-09-18 14:15:44
|
||||
* @Last Modified by: 1ridic
|
||||
* @Last Modified time: 2022-09-18 14:41:38
|
||||
* @Last Modified time: 2022-09-18 20:31:59
|
||||
*/
|
||||
#ifndef _BUILTIN_H_
|
||||
#define _BUILTIN_H_
|
||||
|
||||
#include "config.h"
|
||||
int getBuiltinNum();
|
||||
|
||||
#endif
|
12
config.h
Normal file
12
config.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
/*
|
||||
* @Author: 1ridic
|
||||
* @Date: 2022-09-18 20:29:12
|
||||
* @Last Modified by: 1ridic
|
||||
* @Last Modified time: 2022-09-18 20:29:55
|
||||
*/
|
||||
#ifndef _CONFIG_H_
|
||||
#define _CONFIG_H_
|
||||
|
||||
#define LINE_BUF_SIZE 1024
|
||||
|
||||
#endif
|
6
line.h
6
line.h
|
@ -1,12 +1,12 @@
|
|||
/*
|
||||
* @Author: 1ridic
|
||||
* @Date: 2022-09-18 14:14:28
|
||||
* @Last Modified by: 1ridic
|
||||
* @Last Modified time: 2022-09-18 14:14:28
|
||||
* @Last Modified by: 1ridic
|
||||
* @Last Modified time: 2022-09-18 20:29:50
|
||||
*/
|
||||
#ifndef _LINE_H_
|
||||
#define _LINE_H_
|
||||
#define LINE_BUF_SIZE 1024
|
||||
#include "config.h"
|
||||
|
||||
char *readLine(void);
|
||||
char **splitLine(char *line);
|
||||
|
|
Loading…
Reference in a new issue