ZyX
7ee5cc7429
eval: Move get_tv_lnum and get_tv_float to eval/typval.h
...
Additionally
- Rename former tv_get_float to tv_get_float_chk due to name conflict (former
get_tv_float is better suited for being tv_get_float).
- Add E907 error to get_tv_float() and test that it is being raised when
appropriate.
2017-03-29 10:08:05 +03:00
ZyX
949f09bdbb
eval: Move get_tv_string_buf() to eval/typval.c
2017-03-29 10:08:05 +03:00
ZyX
28dafe3ff0
eval,*: Move get_tv_string to typval.c
...
Function was renamed and changed to return `const char *`.
2017-03-29 10:08:05 +03:00
ZyX
2dcfc439b2
eval: Split and move dict_add_nr_str to typval.c
...
Function was split into tv_dict_add_nr() and tv_dict_add_str().
2017-03-29 10:07:43 +03:00
ZyX
210342d795
eval: Move dict_add_list and dict_add_dict to typval.c
2017-03-29 10:07:43 +03:00
ZyX
983a5532ca
eval: Move dict_set_keys_readonly to typval.c
2017-03-29 10:07:43 +03:00
ZyX
ecff8387f4
eval: Move get_dict_callback to typval.c
2017-03-29 10:07:43 +03:00
ZyX
e18a578308
*: Move some dictionary functions to typval.h and use char*
...
Also fixes buffer reusage in setmatches() and complete().
2017-03-29 10:07:42 +03:00
ZyX
fb146e80aa
eval: Split eval.c into smaller files
2017-03-29 10:05:06 +03:00