Mercurial > vim
annotate src/xpm_w32.h @ 22669:3ceb24835183 v8.2.1883
patch 8.2.1883: compiler warnings when using Python
Commit: https://github.com/vim/vim/commit/4ce5fe4c87820c7d22964d6e91d7b07e96640e6f
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 21 21:01:59 2020 +0200
patch 8.2.1883: compiler warnings when using Python
Problem: Compiler warnings when using Python.
Solution: Adjust PyCFunction to also have the second argument. Use "int"
return type for some functions. Insert "(void *)" to get rid of
the remaining warnings.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 21 Oct 2020 21:15:03 +0200 |
parents | 1a5d34492798 |
children |
rev | line source |
---|---|
7 | 1 /* |
2 * Header file for xpm_w32.c | |
3 */ | |
4 | |
5 #ifndef XPM_W32__H | |
7807
1a5d34492798
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
6 int LoadXpmImage(char *filename, HBITMAP *hImage, HBITMAP *hShape); |
7 | 7 #endif |