Skip to main content

cotis_start

Attribute Macro cotis_start 

Source
#[cotis_start]
Expand description

Registers a synchronous application entry point for platform-controlled launch.

The annotated function must take no parameters and must not be async. Expands to an extern "Rust" __cotis_launch_hook symbol consumed by cotis::launch::cotis_launch.

§Examples

use cotis_macros::cotis_start;

#[cotis_start]
fn start() {
    // Application setup and UI loop.
}