mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
widl: Make the attrs parameter passed to start_typelib const.
This commit is contained in:
parent
e9afe272be
commit
abdc08e013
@ -241,7 +241,7 @@ unsigned short get_type_vt(type_t *t)
|
||||
return 0;
|
||||
}
|
||||
|
||||
void start_typelib(char *name, attr_list_t *attrs)
|
||||
void start_typelib(char *name, const attr_list_t *attrs)
|
||||
{
|
||||
in_typelib++;
|
||||
if (!do_typelib) return;
|
||||
|
@ -22,7 +22,7 @@
|
||||
#define __WIDL_TYPELIB_H
|
||||
|
||||
extern int in_typelib;
|
||||
extern void start_typelib(char *name, attr_list_t *attrs);
|
||||
extern void start_typelib(char *name, const attr_list_t *attrs);
|
||||
extern void end_typelib(void);
|
||||
extern void add_typelib_entry(type_t *t);
|
||||
extern void add_importlib(const char *name);
|
||||
|
@ -307,7 +307,7 @@ struct _importlib_t {
|
||||
struct _typelib_t {
|
||||
char *name;
|
||||
char *filename;
|
||||
attr_list_t *attrs;
|
||||
const attr_list_t *attrs;
|
||||
struct list entries;
|
||||
struct list importlibs;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user