Mercurial > vim
view src/proto/if_lua.pro @ 7736:f2ddad8cbce7 v7.4.1166
commit https://github.com/vim/vim/commit/fcaaae6b3fdbf3421a1ff95a25ae16d82381c39a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 24 16:49:11 2016 +0100
patch 7.4.1166
Problem: Can't encode a Funcref into JSON. jsonencode() doesn't handle the
same list or dict twice properly. (Nikolay Pavlov)
Solution: Give an error. Reset copyID when the list or dict is finished.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 24 Jan 2016 17:00:04 +0100 |
parents | 38add5a3d617 |
children | 1a5d34492798 |
line wrap: on
line source
/* if_lua.c */ int lua_enabled __ARGS((int verbose)); void lua_end __ARGS((void)); void ex_lua __ARGS((exarg_T *eap)); void ex_luado __ARGS((exarg_T *eap)); void ex_luafile __ARGS((exarg_T *eap)); void lua_buffer_free __ARGS((buf_T *buf)); void lua_window_free __ARGS((win_T *win)); void do_luaeval __ARGS((char_u *str, typval_T *arg, typval_T *rettv)); int set_ref_in_lua __ARGS((int copyID)); /* vim: set ft=c : */