From fc31a414732d1b45f69f66236bb52b8226762db5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 7 Oct 2013 12:56:41 -0700 Subject: Constify the effect parameter of effect getters --- OpenAL32/Include/alEffect.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenAL32/Include/alEffect.h') diff --git a/OpenAL32/Include/alEffect.h b/OpenAL32/Include/alEffect.h index 89fa5381..772324cc 100644 --- a/OpenAL32/Include/alEffect.h +++ b/OpenAL32/Include/alEffect.h @@ -35,10 +35,10 @@ struct ALeffectVtable { void (*const setParamf)(struct ALeffect *effect, ALCcontext *context, ALenum param, ALfloat val); void (*const setParamfv)(struct ALeffect *effect, ALCcontext *context, ALenum param, const ALfloat *vals); - void (*const getParami)(struct ALeffect *effect, ALCcontext *context, ALenum param, ALint *val); - void (*const getParamiv)(struct ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals); - void (*const getParamf)(struct ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val); - void (*const getParamfv)(struct ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals); + void (*const getParami)(const struct ALeffect *effect, ALCcontext *context, ALenum param, ALint *val); + void (*const getParamiv)(const struct ALeffect *effect, ALCcontext *context, ALenum param, ALint *vals); + void (*const getParamf)(const struct ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *val); + void (*const getParamfv)(const struct ALeffect *effect, ALCcontext *context, ALenum param, ALfloat *vals); }; #define DEFINE_ALEFFECT_VTABLE(T) \ -- cgit v1.2.3