Created
July 24, 2017 13:46
-
-
Save mattn/b770f0bf14e1294d73959df70addc37f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/evalfunc.c b/src/evalfunc.c | |
index 33307e527..8d84e93a6 100644 | |
--- a/src/evalfunc.c | |
+++ b/src/evalfunc.c | |
@@ -390,6 +390,16 @@ static void f_tabpagewinnr(typval_T *argvars, typval_T *rettv); | |
static void f_taglist(typval_T *argvars, typval_T *rettv); | |
static void f_tagfiles(typval_T *argvars, typval_T *rettv); | |
static void f_tempname(typval_T *argvars, typval_T *rettv); | |
+#ifdef FEAT_TERMINAL | |
+static void f_term_getjob(typval_T *argvars, typval_T *rettv); | |
+static void f_term_getsize(typval_T *argvars, typval_T *rettv); | |
+static void f_term_list(typval_T *argvars, typval_T *rettv); | |
+static void f_term_open(typval_T *argvars, typval_T *rettv); | |
+static void f_term_scrape(typval_T *argvars, typval_T *rettv); | |
+static void f_term_sendkey(typval_T *argvars, typval_T *rettv); | |
+static void f_term_setsize(typval_T *argvars, typval_T *rettv); | |
+static void f_term_wait(typval_T *argvars, typval_T *rettv); | |
+#endif | |
static void f_test_alloc_fail(typval_T *argvars, typval_T *rettv); | |
static void f_test_autochdir(typval_T *argvars, typval_T *rettv); | |
static void f_test_override(typval_T *argvars, typval_T *rettv); | |
@@ -830,6 +840,16 @@ static struct fst | |
{"tanh", 1, 1, f_tanh}, | |
#endif | |
{"tempname", 0, 0, f_tempname}, | |
+#ifdef FEAT_TERMINAL | |
+ {"term_getjob", 1, 1, f_term_getjob}, | |
+ {"term_getsize", 1, 1, f_term_getsize}, | |
+ {"term_list", 0, 0, f_term_list}, | |
+ {"term_open", 1, 2, f_term_open}, | |
+ {"term_scrape", 2, 2, f_term_scrape}, | |
+ {"term_sendkey", 2, 2, f_term_sendkey}, | |
+ {"term_setsize", 2, 2, f_term_setsize}, | |
+ {"term_wait", 2, 2, f_term_wait}, | |
+#endif | |
{"test_alloc_fail", 3, 3, f_test_alloc_fail}, | |
{"test_autochdir", 0, 0, f_test_autochdir}, | |
{"test_garbagecollect_now", 0, 0, f_test_garbagecollect_now}, | |
@@ -12360,6 +12380,72 @@ f_tanh(typval_T *argvars, typval_T *rettv) | |
} | |
#endif | |
+#ifdef FEAT_TERMINAL | |
+/* | |
+ * "term_getjob" function | |
+ */ | |
+ static void | |
+f_term_getjob(typval_T *argvars, typval_T *rettv) | |
+{ | |
+} | |
+ | |
+/* | |
+ * "term_getsize" function | |
+ */ | |
+ static void | |
+f_term_getsize(typval_T *argvars, typval_T *rettv) | |
+{ | |
+} | |
+ | |
+/* | |
+ * "term_list" function | |
+ */ | |
+ static void | |
+f_term_list(typval_T *argvars, typval_T *rettv) | |
+{ | |
+} | |
+ | |
+/* | |
+ * "term_open" function | |
+ */ | |
+ static void | |
+f_term_open(typval_T *argvars, typval_T *rettv) | |
+{ | |
+} | |
+ | |
+/* | |
+ * "term_scrape" function | |
+ */ | |
+ static void | |
+f_term_scrape(typval_T *argvars, typval_T *rettv) | |
+{ | |
+} | |
+ | |
+/* | |
+ * "term_sendkey" function | |
+ */ | |
+ static void | |
+f_term_sendkey(typval_T *argvars, typval_T *rettv) | |
+{ | |
+} | |
+ | |
+/* | |
+ * "term_setsize" function | |
+ */ | |
+ static void | |
+f_term_setsize(typval_T *argvars, typval_T *rettv) | |
+{ | |
+} | |
+ | |
+/* | |
+ * "term_wait" function | |
+ */ | |
+ static void | |
+f_term_wait(typval_T *argvars, typval_T *rettv) | |
+{ | |
+} | |
+#endif | |
+ | |
/* | |
* "test_alloc_fail(id, countdown, repeat)" function | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment