diff options
author | 2007-09-23 23:37:07 -0400 | |
---|---|---|
committer | 2007-09-23 23:37:07 -0400 | |
commit | bc45d6d081ebe6e2c26e5691d7242c1042472244 (patch) | |
tree | 8bd557695a42a61a7d1de5870c9d773756b78994 /src/textadept.h | |
parent | 9f3cc4ab1a1995f738a96a43963b099efa231db4 (diff) | |
download | textadept-bc45d6d081ebe6e2c26e5691d7242c1042472244.tar.gz textadept-bc45d6d081ebe6e2c26e5691d7242c1042472244.zip |
Rearranged and cleaned up src/lua_interface.c; moved warn to src/textadept.h.
Diffstat (limited to 'src/textadept.h')
-rw-r--r-- | src/textadept.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/textadept.h b/src/textadept.h index 5f9b62c1..6e8cb126 100644 --- a/src/textadept.h +++ b/src/textadept.h @@ -27,6 +27,8 @@ extern GtkTreeStore *pm_store; extern lua_State *lua; static const char *textadept_home = "/usr/share/textadept/"; +void warn(const char *s) { printf("Warning: %s\n", s); } + // textadept.c void create_ui(); GtkWidget* new_scintilla_window(sptr_t default_id=NULL); @@ -70,7 +72,6 @@ bool l_handle_event(const char *e); bool l_handle_event(const char *e, const char *arg); bool l_handle_keypress(int keyval, GdkEventKey *event); void l_handle_scnnotification(SCNotification *n); - void l_ta_command(const char *command); bool l_pm_get_contents_for(const char *entry_text, bool expanding=false); |