Mercurial > hg > xemacs-beta
comparison src/objects-msw.c @ 1726:a8d8f419b459
[xemacs-hg @ 2003-09-30 15:26:34 by james]
Add type information to xfree to avoid alias creation.
author | james |
---|---|
date | Tue, 30 Sep 2003 15:27:01 +0000 |
parents | 9fc738581a9d |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
1725:7ff8f4d70aec | 1726:a8d8f419b459 |
---|---|
1372 static void | 1372 static void |
1373 mswindows_finalize_color_instance (Lisp_Color_Instance *c) | 1373 mswindows_finalize_color_instance (Lisp_Color_Instance *c) |
1374 { | 1374 { |
1375 if (c->data) | 1375 if (c->data) |
1376 { | 1376 { |
1377 xfree (c->data); | 1377 xfree (c->data, void *); |
1378 c->data = 0; | 1378 c->data = 0; |
1379 } | 1379 } |
1380 } | 1380 } |
1381 | 1381 |
1382 static int | 1382 static int |
1898 if (FONT_INSTANCE_MSWINDOWS_HFONT_I (f, i) != NULL | 1898 if (FONT_INSTANCE_MSWINDOWS_HFONT_I (f, i) != NULL |
1899 && FONT_INSTANCE_MSWINDOWS_HFONT_I (f, i) != MSWINDOWS_BAD_HFONT) | 1899 && FONT_INSTANCE_MSWINDOWS_HFONT_I (f, i) != MSWINDOWS_BAD_HFONT) |
1900 DeleteObject (FONT_INSTANCE_MSWINDOWS_HFONT_I (f, i)); | 1900 DeleteObject (FONT_INSTANCE_MSWINDOWS_HFONT_I (f, i)); |
1901 } | 1901 } |
1902 | 1902 |
1903 xfree (f->data); | 1903 xfree (f->data, void *); |
1904 f->data = 0; | 1904 f->data = 0; |
1905 } | 1905 } |
1906 } | 1906 } |
1907 | 1907 |
1908 #if 0 | 1908 #if 0 |