comparison oldXMenu/XMakeAssoc.c @ 111449:132f2dfd549f

Merge from emacs-23
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 09 Nov 2010 15:07:10 -0500
parents 5cc91198ffb2 a63dbe9548aa
children ef719132ddfa
comparison
equal deleted inserted replaced
111448:321fbae3e04d 111449:132f2dfd549f
24 * XMakeAssoc - Insert data into an XAssocTable keyed on an XId. 24 * XMakeAssoc - Insert data into an XAssocTable keyed on an XId.
25 * Data is inserted into the table only once. Redundant inserts are 25 * Data is inserted into the table only once. Redundant inserts are
26 * meaningless (but cause no problems). The queue in each association 26 * meaningless (but cause no problems). The queue in each association
27 * bucket is sorted (lowest XId to highest XId). 27 * bucket is sorted (lowest XId to highest XId).
28 */ 28 */
29 void
29 XMakeAssoc(register Display *dpy, register XAssocTable *table, register XID x_id, register caddr_t data) 30 XMakeAssoc(register Display *dpy, register XAssocTable *table, register XID x_id, register caddr_t data)
30 { 31 {
31 int hash; 32 int hash;
32 register XAssoc *bucket; 33 register XAssoc *bucket;
33 register XAssoc *Entry; 34 register XAssoc *Entry;