Mercurial > vim
comparison src/proto/eval.pro @ 9389:32e34e574716 v7.4.1976
commit https://github.com/vim/vim/commit/22fcfad29276bd5f317faf516637dcd491b96a12
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 1 18:17:26 2016 +0200
patch 7.4.1976
Problem: Number variables are not 64 bits while they could be.
Solution: Add the num64 feature. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 01 Jul 2016 18:30:07 +0200 |
parents | 8755d57debaa |
children | f048e5a27253 |
comparison
equal
deleted
inserted
replaced
9388:404ac7af0e7e | 9389:32e34e574716 |
---|---|
17 int eval_to_bool(char_u *arg, int *error, char_u **nextcmd, int skip); | 17 int eval_to_bool(char_u *arg, int *error, char_u **nextcmd, int skip); |
18 char_u *eval_to_string_skip(char_u *arg, char_u **nextcmd, int skip); | 18 char_u *eval_to_string_skip(char_u *arg, char_u **nextcmd, int skip); |
19 int skip_expr(char_u **pp); | 19 int skip_expr(char_u **pp); |
20 char_u *eval_to_string(char_u *arg, char_u **nextcmd, int convert); | 20 char_u *eval_to_string(char_u *arg, char_u **nextcmd, int convert); |
21 char_u *eval_to_string_safe(char_u *arg, char_u **nextcmd, int use_sandbox); | 21 char_u *eval_to_string_safe(char_u *arg, char_u **nextcmd, int use_sandbox); |
22 int eval_to_number(char_u *expr); | 22 varnumber_T eval_to_number(char_u *expr); |
23 list_T *eval_spell_expr(char_u *badword, char_u *expr); | 23 list_T *eval_spell_expr(char_u *badword, char_u *expr); |
24 int get_spellword(list_T *list, char_u **pp); | 24 int get_spellword(list_T *list, char_u **pp); |
25 typval_T *eval_expr(char_u *arg, char_u **nextcmd); | 25 typval_T *eval_expr(char_u *arg, char_u **nextcmd); |
26 int call_vim_function(char_u *func, int argc, char_u **argv, int safe, int str_arg_only, typval_T *rettv); | 26 int call_vim_function(char_u *func, int argc, char_u **argv, int safe, int str_arg_only, typval_T *rettv); |
27 long call_func_retnr(char_u *func, int argc, char_u **argv, int safe); | 27 varnumber_T call_func_retnr(char_u *func, int argc, char_u **argv, int safe); |
28 void *call_func_retstr(char_u *func, int argc, char_u **argv, int safe); | 28 void *call_func_retstr(char_u *func, int argc, char_u **argv, int safe); |
29 void *call_func_retlist(char_u *func, int argc, char_u **argv, int safe); | 29 void *call_func_retlist(char_u *func, int argc, char_u **argv, int safe); |
30 void *save_funccal(void); | 30 void *save_funccal(void); |
31 void restore_funccal(void *vfc); | 31 void restore_funccal(void *vfc); |
32 void prof_child_enter(proftime_T *tm); | 32 void prof_child_enter(proftime_T *tm); |
74 void dict_unref(dict_T *d); | 74 void dict_unref(dict_T *d); |
75 void dict_free(dict_T *d); | 75 void dict_free(dict_T *d); |
76 dictitem_T *dictitem_alloc(char_u *key); | 76 dictitem_T *dictitem_alloc(char_u *key); |
77 void dictitem_free(dictitem_T *item); | 77 void dictitem_free(dictitem_T *item); |
78 int dict_add(dict_T *d, dictitem_T *item); | 78 int dict_add(dict_T *d, dictitem_T *item); |
79 int dict_add_nr_str(dict_T *d, char *key, long nr, char_u *str); | 79 int dict_add_nr_str(dict_T *d, char *key, varnumber_T nr, char_u *str); |
80 int dict_add_list(dict_T *d, char *key, list_T *list); | 80 int dict_add_list(dict_T *d, char *key, list_T *list); |
81 dictitem_T *dict_find(dict_T *d, char_u *key, int len); | 81 dictitem_T *dict_find(dict_T *d, char_u *key, int len); |
82 char_u *get_dict_string(dict_T *d, char_u *key, int save); | 82 char_u *get_dict_string(dict_T *d, char_u *key, int save); |
83 long get_dict_number(dict_T *d, char_u *key); | 83 varnumber_T get_dict_number(dict_T *d, char_u *key); |
84 int string2float(char_u *text, float_T *value); | 84 int string2float(char_u *text, float_T *value); |
85 char_u *get_function_name(expand_T *xp, int idx); | 85 char_u *get_function_name(expand_T *xp, int idx); |
86 char_u *get_expr_name(expand_T *xp, int idx); | 86 char_u *get_expr_name(expand_T *xp, int idx); |
87 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, partial_T *partial, dict_T *selfdict_in); | 87 int call_func(char_u *funcname, int len, typval_T *rettv, int argcount_in, typval_T *argvars_in, linenr_T firstline, linenr_T lastline, int *doesrange, int evaluate, partial_T *partial, dict_T *selfdict_in); |
88 buf_T *buflist_find_by_name(char_u *name, int curtab_only); | 88 buf_T *buflist_find_by_name(char_u *name, int curtab_only); |
90 void dict_extend(dict_T *d1, dict_T *d2, char_u *action); | 90 void dict_extend(dict_T *d1, dict_T *d2, char_u *action); |
91 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); | 91 void mzscheme_call_vim(char_u *name, typval_T *args, typval_T *rettv); |
92 float_T vim_round(float_T f); | 92 float_T vim_round(float_T f); |
93 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, char_u *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); | 93 long do_searchpair(char_u *spat, char_u *mpat, char_u *epat, int dir, char_u *skip, int flags, pos_T *match_pos, linenr_T lnum_stop, long time_limit); |
94 char_u *get_callback(typval_T *arg, partial_T **pp); | 94 char_u *get_callback(typval_T *arg, partial_T **pp); |
95 void set_vim_var_nr(int idx, long val); | 95 void set_vim_var_nr(int idx, varnumber_T val); |
96 long get_vim_var_nr(int idx); | 96 varnumber_T get_vim_var_nr(int idx); |
97 char_u *get_vim_var_str(int idx); | 97 char_u *get_vim_var_str(int idx); |
98 list_T *get_vim_var_list(int idx); | 98 list_T *get_vim_var_list(int idx); |
99 void set_vim_var_char(int c); | 99 void set_vim_var_char(int c); |
100 void set_vcount(long count, long count1, int set_prevcount); | 100 void set_vcount(long count, long count1, int set_prevcount); |
101 void set_vim_var_string(int idx, char_u *val, int len); | 101 void set_vim_var_string(int idx, char_u *val, int len); |
106 char_u *v_throwpoint(char_u *oldval); | 106 char_u *v_throwpoint(char_u *oldval); |
107 char_u *set_cmdarg(exarg_T *eap, char_u *oldarg); | 107 char_u *set_cmdarg(exarg_T *eap, char_u *oldarg); |
108 typval_T *alloc_tv(void); | 108 typval_T *alloc_tv(void); |
109 void free_tv(typval_T *varp); | 109 void free_tv(typval_T *varp); |
110 void clear_tv(typval_T *varp); | 110 void clear_tv(typval_T *varp); |
111 long get_tv_number(typval_T *varp); | 111 varnumber_T get_tv_number(typval_T *varp); |
112 long get_tv_number_chk(typval_T *varp, int *denote); | 112 varnumber_T get_tv_number_chk(typval_T *varp, int *denote); |
113 char_u *get_tv_string(typval_T *varp); | 113 char_u *get_tv_string(typval_T *varp); |
114 char_u *get_tv_string_buf(typval_T *varp, char_u *buf); | 114 char_u *get_tv_string_buf(typval_T *varp, char_u *buf); |
115 char_u *get_tv_string_chk(typval_T *varp); | 115 char_u *get_tv_string_chk(typval_T *varp); |
116 char_u *get_tv_string_buf_chk(typval_T *varp, char_u *buf); | 116 char_u *get_tv_string_buf_chk(typval_T *varp, char_u *buf); |
117 char_u *get_var_value(char_u *name); | 117 char_u *get_var_value(char_u *name); |