[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: [v3 1/2] d3dx9: Implement IsParameterUsed function in effect.
From:       Matteo Bruni <matteo.mystral () gmail ! com>
Date:       2016-05-30 21:23:45
Message-ID: CABvNrtOu1XuRir+CK1hmEDiv31jfSsJox_uTFrDGsDrDtFTmnQ () mail ! gmail ! com
[Download RAW message or body]

2016-05-26 20:18 GMT+02:00 Paul Gofman <gofmanp@gmail.com>:
> +static BOOL walk_parameter_dep(struct d3dx_parameter *param, \
> walk_parameter_dep_func param_func, +        void *data);
> +
> +static BOOL walk_param_eval_dep(struct d3dx_param_eval *param_eval, \
> walk_parameter_dep_func param_func, +        void *data)
> +{

Depending on what you will do with the other planned use, it might
make sense to specialize these functions for the only use case you
have at the moment, simplifying (e.g. dropping the callback) and
renaming (e.g. is_param_eval_param_used() - a name that shows what you
expect from these functions) them in the process.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic