view ci/if_ver-cmd.vim @ 33607:d330a74451b4 v9.0.2047

patch 9.0.2047: perl: warning about inconsistent dll linkage Commit: https://github.com/vim/vim/commit/2b126a6892b485bc9924464fabdf2313e1100aa9 Author: Ken Takata <kentkt@csc.jp> Date: Wed Oct 18 11:59:44 2023 +0200 patch 9.0.2047: perl: warning about inconsistent dll linkage Problem: perl: warning about inconsistent dll linkage Solution: suppress warning Suppress warning C4273 (inconsistent DLL linkage). Also adjust inconsistent use of const. closes: #13369 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Ken Takata <kentkt@csc.jp>
author Christian Brabandt <cb@256bit.org>
date Wed, 18 Oct 2023 12:15:03 +0200
parents 27ff44268da5
children
line wrap: on
line source

" Provide 'PrintVer' command to print the interface versions.

func s:print_ver(lang, ...)
  if has(a:lang)
    exec a:lang join(a:000)
  else
    echo 'N/A'
  endif
  echo ''
endfunc

command -nargs=+ PrintVer call <SID>print_ver(<f-args>)