Thread
:
Returning null handle in native
View Single Post
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
05-30-2016 , 06:21 Re: Returning null handle in native
#
8
I guess you could just return 0, I believe null is a type-safe alias for 0.
I know it doesn't really say that you are returning a null handle to someone that is looking at the code. I guess you can add a comment on the same line saying "null" to document it better.
Last edited by klippy; 05-30-2016 at
06:24
.
klippy
View Public Profile
Send a private message to klippy
Find More Posts by klippy