widl: Make the attrs parameter passed to start_typelib const.

This commit is contained in:
Rob Shearman 2008-04-14 10:59:35 +01:00 committed by Alexandre Julliard
parent e9afe272be
commit abdc08e013
3 changed files with 3 additions and 3 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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;
};