mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
Make HelpCtx a per-platform type, not an intorptr.
Partly, this just seems more sensible, since it may well vary per platform beyond the ability of intorptr to specify. But more immediately it means the definition of the HELPCTX macro doesn't have to use the P() function from dialog.h, which isn't defined in any circumstances outside the config subsystem. And I'm about to want to put a help context well outside that subsystem.
This commit is contained in:
@ -78,7 +78,9 @@ extern const struct BackendVtable pty_backend;
|
||||
/*
|
||||
* Under GTK, there is no context help available.
|
||||
*/
|
||||
#define HELPCTX(x) P(NULL)
|
||||
typedef void *HelpCtx;
|
||||
#define NULL_HELPCTX ((HelpCtx)NULL)
|
||||
#define HELPCTX(x) NULL
|
||||
#define FILTER_KEY_FILES NULL /* FIXME */
|
||||
#define FILTER_DYNLIB_FILES NULL /* FIXME */
|
||||
|
||||
|
Reference in New Issue
Block a user