diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-11-20 10:10:26 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-11-20 10:10:26 -0800 |
commit | e693448b65721843e3d8dbfc978a9e4a95de5809 (patch) | |
tree | 53509c8dee91887ec2148365f8a5b3a53b6fa7c3 | |
parent | b43747ecef13a7cbe5eb5842d03d803165a473b3 (diff) | |
download | teliva-e693448b65721843e3d8dbfc978a9e4a95de5809.tar.gz |
inline in C is not worth the trouble
https://merveilles.town/@akkartik/107310347838372198
-rw-r--r-- | src/lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lua.c b/src/lua.c index 4e09b25..8d3a1a4 100644 --- a/src/lua.c +++ b/src/lua.c @@ -360,7 +360,7 @@ char **Argv = NULL; extern void edit (lua_State *L, char *filename, const char *message); extern void clearEditor (void); extern int editorOpen (char *filename); -inline void edit_buffer (lua_State *L, const char *message) { +void edit_buffer (lua_State *L, const char *message) { edit(L, "teliva_editbuffer", message); } void editor_refresh_buffer (void) { @@ -368,7 +368,7 @@ void editor_refresh_buffer (void) { editorOpen("teliva_editbuffer"); } extern void resumeEdit (lua_State *L, char *filename); -inline void editor_resume (lua_State *L) { +void editor_resume (lua_State *L) { resumeEdit(L, "teliva_editbuffer"); } |