ole32: Constify some variables.
This commit is contained in:
parent
3a0233d63f
commit
886c970d76
|
@ -189,7 +189,7 @@ enumx_impl *enumx_allocate(REFIID riid, const void *vtbl, ULONG elem_size)
|
|||
*
|
||||
* Add an element to the enumeration.
|
||||
*/
|
||||
void *enumx_add_element(enumx_impl *enumx, void *data)
|
||||
void *enumx_add_element(enumx_impl *enumx, const void *data)
|
||||
{
|
||||
struct list *element;
|
||||
|
||||
|
|
|
@ -29,6 +29,6 @@ extern HRESULT WINAPI enumx_Skip(enumx_impl *, ULONG);
|
|||
extern HRESULT WINAPI enumx_Reset(enumx_impl *);
|
||||
extern HRESULT WINAPI enumx_Clone(enumx_impl *, enumx_impl **);
|
||||
extern enumx_impl *enumx_allocate(REFIID, const void *, ULONG);
|
||||
extern void *enumx_add_element(enumx_impl *, void *);
|
||||
extern void *enumx_add_element(enumx_impl *, const void *);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue