Fix style consistency
| Author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-06 12:05:01 +0200 |
| Committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2025-08-06 12:05:01 +0200 |
| Commit | a67a1ff9c0eb2331b7356a6ed3d60cc9416efc0c (patch) |
|
-rw-r--r-- |
main.c | 2 |
1 files changed, 1 insertions, 1 deletions
| diff --git a/main.c b/main.c | |||
| ... | |||
| 26 | return val; |
26 | return val; |
| 27 | } |
27 | } |
| 28 | 28 | ||
| 29 | static int load_embedded_module(lua_State *L, const char* module_code, size_t code_len, const char* module_name) { |
29 | static int load_embedded_module(lua_State *L, const char *module_code, size_t code_len, const char *module_name) { |
| 30 | if (luaL_loadbuffer(L, module_code, code_len, module_name) || lua_pcall(L, 0, 1, 0)) { |
30 | if (luaL_loadbuffer(L, module_code, code_len, module_name) || lua_pcall(L, 0, 1, 0)) { |
| 31 | fprintf(stderr, "Error loading %s: %s\n", module_name, lua_tostring(L, -1)); |
31 | fprintf(stderr, "Error loading %s: %s\n", module_name, lua_tostring(L, -1)); |
| 32 | return 0; |
32 | return 0; |
| ... | |||