Re: [Vala] Testing out parameters



On 21/11/2014 14:38, Andy Lees wrote:
Is there a way to test if an out parameter has been provided, assuming I
default it to null?  In the case I want to avoid an expensive calculation
if it's not required?
In the old days you could check if if (&param == null), not sure if
still works.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]