]> code.delx.au - gnu-emacs/blobdiff - oldXMenu/X10.h
Remove separate pool for popup dialogs (bug#23856)
[gnu-emacs] / oldXMenu / X10.h
index e1abcbbe6c599efca939f5d8dc1bc0b0e651fbab..5e4ca068ba5544e94294fabf3108bb1d6522db39 100644 (file)
@@ -51,10 +51,10 @@ XDrawFilled so it shouldn't be defined.
  */
 typedef struct _XAssoc {
        struct _XAssoc *next;   /* Next object in this bucket. */
-       struct _XAssoc *prev;   /* Previous obejct in this bucket. */
+       struct _XAssoc *prev;   /* Previous object in this bucket. */
        Display *display;       /* Display which owns the id. */
        XID x_id;               /* X Window System id. */
-       char *data;             /* Pointer to untyped memory. */
+       void *data;             /* Pointer to untyped memory. */
 } XAssoc;
 
 /*
@@ -71,10 +71,7 @@ typedef struct {
     int size;                  /* Table size (number of buckets). */
 } XAssocTable;
 
-XAssocTable *XCreateAssocTable();
-char *XLookUpAssoc();
+XAssocTable *XCreateAssocTable(int size);
+char *XLookUpAssoc(Display *dpy, XAssocTable *table, XID x_id);
 
 #endif /* _X10_H_ */
-
-/* arch-tag: b0b749fb-757b-470b-b405-af7d033a5aad
-   (do not change this comment) */