static global context
add to Cargo.toml
toml
[dependencies]
gctx = "0.1.0"
```rust use gctx::ctx;
struct Ctx { size: usize, }
ctx!(G: Ctx);
fn main() {
ctx_init(Ctx {
size: 12,
});
dbg!(ctx_get());
ctx_mut().size = 88;
dbg!(ctx_get());
} ```