Method doesn't compile when defined in a mixin, but is fine without?

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 1 06:46:14 PDT 2016


On 01.05.2016 15:32, pineapple wrote:
> static string vectorpropertymixin(string name, string SDL_getter, string
> SDL_setter){
[...]
> mixin(vectorpropertymixin(
>      "minsize", "SDL_GetWindowMinimumSize", "SDL_GetWindowMinimumSize"
> ));

Should the second one be "SDL_SetWindowMinimumSize" here? ("Set" instead 
of "Get".)


More information about the Digitalmars-d-learn mailing list