Skip to content

Commit 3926f79

Browse files
committed
Add laco namespace to public handle_command func
1 parent ad0f060 commit 3926f79

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ static inline bool is_help(const char* command) {
2222
return laco_is_match(help_matches, command);
2323
}
2424

25-
void handle_command(struct LacoState* laco, char* line) {
25+
void laco_handle_command(struct LacoState* laco, char* line) {
2626
if(laco != NULL && line != NULL) {
2727
const char* command = line + 1;
2828

src/commands.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ struct LacoState;
77
* Gets passed ever line to see if it matches one of the REPL command. If it
88
* does, that command will be executed.
99
*/
10-
void handle_command(struct LacoState* laco, char* line);
10+
void laco_handle_command(struct LacoState* laco, char* line);
1111

1212
#endif /* LACO_COMMANDS_H */

0 commit comments

Comments
 (0)