![]() |
![]() |
![]() |
Seed Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
#include <seed/seed.h> SeedValue (*SeedFunctionCallback) (SeedContext ctx, SeedObject function, SeedObject this_object, gsize argument_count, const SeedValue arguments[], SeedException *exception); SeedObject seed_make_function (SeedContext ctx, SeedFunctionCallback func, const gchar *name); void seed_create_function (SeedContext ctx, gchar *name, SeedFunctionCallback callback, SeedObject object);
SeedValue (*SeedFunctionCallback) (SeedContext ctx, SeedObject function, SeedObject this_object, gsize argument_count, const SeedValue arguments[], SeedException *exception);
|
|
|
|
|
|
|
|
|
|
|
|
Returns : |
SeedObject seed_make_function (SeedContext ctx, SeedFunctionCallback func, const gchar *name);
|
A valid SeedContext |
|
A SeedFunctionCallback to implement the function. |
|
The name of the function (used in exceptions). |
Returns : |
The function |
void seed_create_function (SeedContext ctx, gchar *name, SeedFunctionCallback callback, SeedObject object);
|
|
|
|
|
|
|