Mercurial > vim
view src/proto/if_xcmdsrv.pro @ 27774:89b1bc6fd40a v8.2.4413
patch 8.2.4413: Vim9: Coverity warns for using NULL pointer
Commit: https://github.com/vim/vim/commit/56acd1f8ed4d86e92684f90b3b8e0e9a355208d1
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Feb 18 13:24:52 2022 +0000
patch 8.2.4413: Vim9: Coverity warns for using NULL pointer
Problem: Vim9: Coverity warns for using NULL pointer.
Solution: Give an internal error when funcref function can't be found.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 18 Feb 2022 14:30:02 +0100 |
parents | 71311d899b42 |
children |
line wrap: on
line source
/* if_xcmdsrv.c */ int serverRegisterName(Display *dpy, char_u *name); void serverChangeRegisteredWindow(Display *dpy, Window newwin); int serverSendToVim(Display *dpy, char_u *name, char_u *cmd, char_u **result, Window *server, int asExpr, int timeout, int localLoop, int silent); char_u *serverGetVimNames(Display *dpy); Window serverStrToWin(char_u *str); int serverSendReply(char_u *name, char_u *str); int serverReadReply(Display *dpy, Window win, char_u **str, int localLoop, int timeout); int serverPeekReply(Display *dpy, Window win, char_u **str); void serverEventProc(Display *dpy, XEvent *eventPtr, int immediate); void server_parse_messages(void); int server_waiting(void); /* vim: set ft=c : */