Kaleidoscope's device API defines two types to be exported as kaleidoscope::Device and kaleidoscope::DeviceProps. The newly introduced macro EXPORT_DEVICE can be used to export those two type names conveniently. The macro also serves the purpose to only export a type named kaleidoscope::Device in non-virtual device builds. In virtual builds, a homonymous type is exported by the virtual device header Virtual.h. Signed-off-by: Florian Fleissner <florian.fleissner@inpartik.de>pull/735/head
parent
f3cb9a437f
commit
f1a92d6fb0
Loading…
Reference in new issue