flint
flint copied to clipboard
Important missing gr methods
- gr_ctx_init_set
- gr_ctx_equal
- gr_ctx_hash
- gr_hash
- gr_equal_repr
An officially supported way of checking if a context has been initialized could also be useful.
What do you mean? Before a context is initialized, its struct contains undefined data.
On Friday, 22 March 2024 20:41:48 CET Fredrik Johansson wrote:
What do you mean? Before a context is initialized, its struct contains undefined data.
A documented equivalent of
gr_ctx_t ctx;
ctx->which_ring = GR_CTX_UNKNOWN_DOMAIN;
[...]
if(ctx->which_ring == GR_CTX_UNKNOWN_DOMAIN)
-- Marc