Mercurial > hg > xemacs-beta
diff src/frame-x.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 | 18d2b8dabcf7 |
line wrap: on
line diff
--- a/src/frame-x.c Mon Sep 29 21:53:04 2003 +0000 +++ b/src/frame-x.c Tue Sep 30 15:27:01 2003 +0000 @@ -1006,7 +1006,7 @@ } /* free the data string */ - xfree (clientData); + xfree (clientData, XtPointer); CurrentDragWidget = NULL; } @@ -1164,7 +1164,7 @@ if (!STRINGP (XCAR (item))) { numItems=0; - xfree(Ctext); + xfree(Ctext, char *); Ctext=NULL; break; } @@ -1242,7 +1242,7 @@ l_data = Fcons (make_string ((Ibyte* )hurl, strlen (hurl)), l_data); - xfree (hurl); + xfree (hurl, char *); } } else if (transferInfo->dropData->protocol == DtDND_BUFFER_TRANSFER) @@ -1339,7 +1339,7 @@ { if (!STRINGP (XCAR (run))) { - xfree (dnd_data); + xfree (dnd_data, char *); return Qnil; } len = XSTRING_LENGTH (XCAR (run)) + 1; @@ -1403,7 +1403,7 @@ DndSetData(dnd_typ, (unsigned char *)dnd_data, dnd_len); if (dnd_dealloc) - xfree (dnd_data); + xfree (dnd_data, char *); /* the next thing blocks everything... */ if (DndHandleDragging(wid, &x_event)) @@ -2677,13 +2677,13 @@ if (FRAME_X_GEOM_FREE_ME_PLEASE (f)) { - xfree (FRAME_X_GEOM_FREE_ME_PLEASE (f)); + xfree (FRAME_X_GEOM_FREE_ME_PLEASE (f), char *); FRAME_X_GEOM_FREE_ME_PLEASE (f) = 0; } if (f->frame_data) { - xfree (f->frame_data); + xfree (f->frame_data, void *); f->frame_data = 0; } }