diff options
| author | Lukas Fürmetz <fuermetz@mailbox.org> | 2017-11-15 22:13:55 +0100 |
|---|---|---|
| committer | Lukas Fürmetz <fuermetz@mailbox.org> | 2017-11-16 12:05:24 +0100 |
| commit | 14ef6c59279d6fde95e70db924e376ea9bb57516 (patch) | |
| tree | 9cde46df7a480a9da0458526d6168e9f5111db9b /vterm-module.h | |
| parent | 865528b34398ee4ad9d7dcfa86e54e27106bd4d5 (diff) | |
Extract elisp related functionality into elisp.c
Diffstat (limited to 'vterm-module.h')
| -rw-r--r-- | vterm-module.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/vterm-module.h b/vterm-module.h index cd755b6..86bf79a 100644 --- a/vterm-module.h +++ b/vterm-module.h @@ -13,44 +13,6 @@ struct Term { pthread_t thread; }; -// Emacs symbols -static emacs_value Qt; -static emacs_value Qnil; -static emacs_value Qnormal; -static emacs_value Qbold; -static emacs_value Qitalic; -static emacs_value Qforeground; -static emacs_value Qbackground; -static emacs_value Qweight; -static emacs_value Qunderline; -static emacs_value Qslant; -static emacs_value Qreverse; -static emacs_value Qstrike; -static emacs_value Qface; - -// Emacs functions -static emacs_value Flength; -static emacs_value Flist; -static emacs_value Ferase_buffer; -static emacs_value Finsert; -static emacs_value Fgoto_char; -static emacs_value Fput_text_property; - -static void bind_function(emacs_env *env, const char *name, emacs_value Sfun); -static void provide(emacs_env *env, const char *feature); -static int string_bytes(emacs_env *env, emacs_value string); -static emacs_value string_length(emacs_env *env, emacs_value string); -static emacs_value list(emacs_env *env, emacs_value *elements, ptrdiff_t len); -static void put_text_property(emacs_env *env, emacs_value string, - emacs_value property, emacs_value value); -static emacs_value render_text(emacs_env *env, char *string, int len, - VTermScreenCell *cell); -static void byte_to_hex(uint8_t byte, char *hex); -static emacs_value color_to_rgb_string(emacs_env *env, VTermColor color); -static void erase_buffer(emacs_env *env); -static void insert(emacs_env *env, emacs_value string); -static void goto_char(emacs_env *env, int pos); - static void vterm_put_caret(VTerm *vt, emacs_env *env, int row, int col, int offset); static void vterm_redraw(VTerm *vt, emacs_env *env); |
