summaryrefslogtreecommitdiff
path: root/platform/uwp/joypad_uwp.h
diff options
context:
space:
mode:
authorWindy Darian <p123456638@msn.com>2019-09-16 23:15:34 -0400
committerWindy Darian <p123456638@msn.com>2019-09-16 23:15:34 -0400
commit628f46760512a5bd4e318a86fa62e7d0cdf0e394 (patch)
treeda2039ddda166af373da5467e632af7c183365e1 /platform/uwp/joypad_uwp.h
parent3e782c78ae46dd3452e7a61a52c65a69f09b8413 (diff)
Allow weakref(null) in gdscript
Tiny addition I personally found useful - this allows us to `var my_ref := weakref(null)` for nullable weak ref (with type hint!). When trying to test if `my_ref` is holding valid reference, we can just `if my_ref.get_ref():` instead of `if my_ref and my_ref.get_ref():` everywhere.
Diffstat (limited to 'platform/uwp/joypad_uwp.h')
0 files changed, 0 insertions, 0 deletions