Mercurial > hg > xemacs-beta
comparison src/device-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 | 01c57eb70ae9 |
children | 04bc9d2f42c7 |
comparison
equal
deleted
inserted
replaced
1725:7ff8f4d70aec | 1726:a8d8f419b459 |
---|---|
276 CoUninitialize (); | 276 CoUninitialize (); |
277 # endif | 277 # endif |
278 #endif | 278 #endif |
279 | 279 |
280 DeleteDC (DEVICE_MSWINDOWS_HCDC (d)); | 280 DeleteDC (DEVICE_MSWINDOWS_HCDC (d)); |
281 xfree (d->device_data); | 281 xfree (d->device_data, void *); |
282 } | 282 } |
283 | 283 |
284 void | 284 void |
285 mswindows_get_workspace_coords (RECT *rc) | 285 mswindows_get_workspace_coords (RECT *rc) |
286 { | 286 { |
543 { | 543 { |
544 XDEVMODE (DEVICE_MSPRINTER_DEVMODE (d))->device = Qnil; | 544 XDEVMODE (DEVICE_MSPRINTER_DEVMODE (d))->device = Qnil; |
545 DEVICE_MSPRINTER_DEVMODE (d) = Qnil; | 545 DEVICE_MSPRINTER_DEVMODE (d) = Qnil; |
546 } | 546 } |
547 | 547 |
548 xfree (d->device_data); | 548 xfree (d->device_data, void *); |
549 } | 549 } |
550 } | 550 } |
551 | 551 |
552 static Lisp_Object | 552 static Lisp_Object |
553 msprinter_device_system_metrics (struct device *d, | 553 msprinter_device_system_metrics (struct device *d, |