Skip to content

Simplify function definitions containing handles

Friz64 requested to merge simplify-function-definitions into main

handle: Option<XyzHandle> -> handle: XyzHandle

Previously, there were two ways to pass a null handle to a function: None and Some(vk::XyzHandle::null()). This MR gets rid of the entirely so it is required to pass vk::XyzHandle::null(). This has the additional benefit of being more explicit about the handle.

Fixes #28 (closed)

Merge request reports

Loading