diff options
author | Thomas White <taw@physics.org> | 2019-07-02 22:37:15 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-07-02 22:37:15 +0200 |
commit | d4179a12792269f2af090d27a4307c6a570ef8a2 (patch) | |
tree | cce9559103c2861938bc88d5961cec412dbcfd03 /src/command.c | |
parent | 2cc20dd211db43e31620661e674b20a0cb687a9b (diff) |
Rename "struct nanolight" to "struct lightctx"
Diffstat (limited to 'src/command.c')
-rw-r--r-- | src/command.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/command.c b/src/command.c index e60a75a..f1387b8 100644 --- a/src/command.c +++ b/src/command.c @@ -28,7 +28,7 @@ #include <libintl.h> #define _(x) gettext(x) -#include "nanolight.h" +#include "lightctx.h" enum token_type { @@ -76,7 +76,7 @@ static int stop_char(char c) } -static int find_tokens(const char *cmd, struct token *tokens, struct nanolight *nl) +static int find_tokens(const char *cmd, struct token *tokens, struct lightctx *nl) { int i; int n = 0; @@ -160,7 +160,7 @@ static const char *str_attr(int att) return "???"; } -static void show_tokens(struct token *tokens, int n, struct nanolight *nl) +static void show_tokens(struct token *tokens, int n, struct lightctx *nl) { int i; @@ -199,7 +199,7 @@ static void show_tokens(struct token *tokens, int n, struct nanolight *nl) } -static void set_level(struct nanolight *nl, int val) +static void set_level(struct lightctx *nl, int val) { int i; @@ -210,7 +210,7 @@ static void set_level(struct nanolight *nl, int val) } -int command_run(const char *cmd, struct nanolight *nl) +int command_run(const char *cmd, struct lightctx *nl) { struct token tokens[1024]; int i, n; |