X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=dialog.h;h=6775167019e886ccda93c3649386375ad9323410;hb=42c592c4ef024af30af91241f651f699d6dbff0b;hp=6f454f566c2e12a1055ac3f497bd082d1c0ac42b;hpb=f3860ec95ea6308ce58cd891dedac1dc8751686e;p=PuTTY.git diff --git a/dialog.h b/dialog.h index 6f454f56..67751670 100644 --- a/dialog.h +++ b/dialog.h @@ -634,21 +634,6 @@ int dlg_coloursel_results(union control *ctrl, void *dlg, */ void dlg_refresh(union control *ctrl, void *dlg); -/* - * It's perfectly possible that individual controls might need to - * allocate or store per-dialog-instance data, so here's a - * mechanism. - * - * `dlg_get_privdata' and `dlg_set_privdata' allow the user to get - * and set a void * pointer associated with the control in - * question. `dlg_alloc_privdata' will allocate memory, store a - * pointer to that memory in the private data field, and arrange - * for it to be automatically deallocated on dialog cleanup. - */ -void *dlg_get_privdata(union control *ctrl, void *dlg); -void dlg_set_privdata(union control *ctrl, void *dlg, void *ptr); -void *dlg_alloc_privdata(union control *ctrl, void *dlg, size_t size); - /* * Standard helper functions for reading a controlbox structure. */