gtkDcoding Blog Post for 2019-03-29 - Grid

Ron Tarrant rontarrant at gmail.com
Wed Apr 3 21:04:29 UTC 2019


On Tuesday, 2 April 2019 at 18:27:10 UTC, Mike Wey wrote:

> While that would be true for things that live on the stack, 
> this is not the case for RGBA. The C version of getRgba uses 
> the "out" parameter so you can pass in a existing GdkRgba, even 
> tough that would make it more like ref.
> This doesn't make sense for the d binding since you will always 
> get a new RGBA passed through the out parameter.

Glad you're around to step in when I don't really understand 
what's going on, Mike. Thanks for clearing this up. :)


More information about the Digitalmars-d-learn mailing list