mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 05:52:55 +00:00
winecfg: Annotate allocation functions with __WINE_(DEALLOC|MALLOC).
This commit is contained in:
parent
1f4532d5c6
commit
b8b55de629
|
@ -54,14 +54,15 @@ extern WCHAR* current_app; /* NULL means editing global settings */
|
|||
|
||||
void set_reg_key(HKEY root, const WCHAR *path, const WCHAR *name, const WCHAR *value);
|
||||
void set_reg_key_dword(HKEY root, const WCHAR *path, const WCHAR *name, DWORD value);
|
||||
WCHAR *get_reg_key(HKEY root, const WCHAR *path, const WCHAR *name, const WCHAR *def);
|
||||
WCHAR *get_reg_key(HKEY root, const WCHAR *path, const WCHAR *name, const WCHAR *def)
|
||||
__WINE_DEALLOC(free) __WINE_MALLOC;
|
||||
|
||||
BOOL reg_key_exists(HKEY root, const WCHAR *path, const WCHAR *name);
|
||||
void apply(void);
|
||||
WCHAR **enumerate_values(HKEY root, const WCHAR *path);
|
||||
WCHAR **enumerate_values(HKEY root, const WCHAR *path) __WINE_DEALLOC(free) __WINE_MALLOC;
|
||||
|
||||
/* Load a string from the resources. Allocated with malloc */
|
||||
WCHAR* load_string (UINT id);
|
||||
WCHAR* load_string(UINT id) __WINE_DEALLOC(free) __WINE_MALLOC;
|
||||
|
||||
/* returns a string of the form "AppDefaults\\appname.exe\\section", or just "section" if
|
||||
the user is editing the global settings.
|
||||
|
|
Loading…
Reference in a new issue