Mercurial > vim
view src/proto/hangulin.pro @ 10559:4d8be28b5913 v8.0.0169
patch 8.0.0169: json_decode() may run out of stack space
commit https://github.com/vim/vim/commit/8b2f19536ff979046f0d241850f4176a1ce4bca9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 10 19:44:18 2017 +0100
patch 8.0.0169: json_decode() may run out of stack space
Problem: For complicated string json_decode() may run out of stack space.
Solution: Change the recursive solution into an iterative solution.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 10 Jan 2017 19:45:03 +0100 |
parents | 21b0a39d13ed |
children | d1e77015f60b |
line wrap: on
line source
/* hangulin.c */ int hangul_input_state_get(void); void hangul_input_state_set(int state); int im_get_status(void); void hangul_input_state_toggle(void); void hangul_keyboard_set(void); int hangul_input_process(char_u *s, int len); void hangul_input_clear(void); char_u *hangul_string_convert(char_u *buf, int *p_len); char_u *hangul_composing_buffer_get(int *p_len); /* vim: set ft=c : */