DVUI

support_child_os_wins

Source

Implementation

#
pub const support_child_os_wins = if (@hasDecl(Implementation, "initWindowSecondary"))
    if (initWindowSecondarySignatureCheck())
        true
    else
        @compileError(std.fmt.comptimePrint(
            \\ Wrong signature for `initWindowSecondary` in {t} backend.
            \\ If you are **not** trying to support `OsWindowWidget`, use another name for whatever you are doing ;-)
        , .{dvui.backend.kind}))
else
    false