TB print hello world
This commit is contained in:
18
user/tb/runtime.h
Normal file
18
user/tb/runtime.h
Normal file
@ -0,0 +1,18 @@
|
||||
#ifndef TB_RUNTIME_H_
|
||||
#define TB_RUNTIME_H_
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
struct Token;
|
||||
|
||||
typedef struct RtCmd {
|
||||
struct RtCmd *next;
|
||||
char *cmdname;
|
||||
bool (*fn)(struct Token *tks);
|
||||
} RtCmd;
|
||||
|
||||
void rt_init(void);
|
||||
|
||||
extern RtCmd *RTCMDS;
|
||||
|
||||
#endif // TB_RUNTIME_H_
|
Reference in New Issue
Block a user