Commit abdc08e0 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Make the attrs parameter passed to start_typelib const.

parent e9afe272
......@@ -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;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment