We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f223c37 commit 7fe3a44Copy full SHA for 7fe3a44
src/commands.h
@@ -3,6 +3,13 @@
3
4
struct LacoState;
5
6
+typedef void (*LacoHandler)(struct LacoState* laco, const char** arguments);
7
+
8
+struct LacoCommand {
9
+ const char** matches;
10
+ LacoHandler handler;
11
+};
12
13
/**
14
* Gets passed ever line to see if it matches one of the REPL command. If it
15
* does, that command will be executed.
0 commit comments