Registry / other / csfml-system-sys

csfml-system-sys

JSON →
library0.6.0rscratesunverified

Raw FFI bindings to the CSFML system module for Rust.

# Cargo.toml [dependencies] csfml-system-sys = "0.6.0"
INSTALL
IMPORT
SIG · CSFML-SYSTEM-SYS
C
csfml-system-sys
otherrustv0.6.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sfSleep
✓ use csfml_system_sys::sfSleep;

Calls the CSFML sfSleep function to pause execution.

use csfml_system_sys::sfSleep; use std::time::Duration; fn main() { unsafe { sfSleep(Duration::from_millis(1000)); } }
Debug
Known issues
gotchaThis crate provides unsafe FFI bindings; incorrect usage can cause crashes.
fix
Ensure proper initialization of CSFML context before calling functions.
affects: >=0.6.0
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
csfml-system-sys — cargo add csfml-system-sys · libregistry