![]() |
![]() |
![]() |
Seed Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <seed/seed.h> typedef SeedContext; typedef SeedGlobalContext; typedef SeedContextGroup; SeedGlobalContext seed_context_create (SeedContextGroup group, SeedClass global_class); SeedGlobalContext seed_context_ref (SeedGlobalContext ctx); void seed_context_unref (SeedGlobalContext ctx); SeedObject seed_context_get_global_object (SeedContext ctx); void seed_prepare_global_context (SeedContext ctx);
SeedGlobalContext seed_context_create (SeedContextGroup group, SeedClass global_class);
|
A SeedContextGroup in which to create the new context, or NULL to
create it in the default context group.
|
|
The SeedClass to use to create the global object, or NULL to
create it with the default class.
|
Returns : |
A new SeedContext. |
SeedGlobalContext seed_context_ref (SeedGlobalContext ctx);
Increments the reference count of ctx
.
|
A SeedContext. |
Returns : |
ctx
|
void seed_context_unref (SeedGlobalContext ctx);
Decrements the reference count of ctx
.
|
A SeedContext. |
SeedObject seed_context_get_global_object (SeedContext ctx);
|
A valid SeedContext |
Returns : |
The global object for ctx .
|