seed r173 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r173 - trunk/libseed
- Date: Sat, 8 Nov 2008 00:19:11 +0000 (UTC)
Author: racarr
Date: Sat Nov 8 00:19:11 2008
New Revision: 173
URL: http://svn.gnome.org/viewvc/seed?rev=173&view=rev
Log:
Add seed_create_function and SeedFunctionCallback to public API.
Modified:
trunk/libseed/seed.h
Modified: trunk/libseed/seed.h
==============================================================================
--- trunk/libseed/seed.h (original)
+++ trunk/libseed/seed.h Sat Nov 8 00:19:11 2008
@@ -25,6 +25,7 @@
typedef gpointer SeedClass;
typedef gpointer SeedException;
typedef gpointer SeedFunction;
+typedef gpointer SeedContextRef;
typedef struct _SeedScript SeedScript;
@@ -83,4 +84,14 @@
GObject *seed_value_to_object(SeedValue val, SeedException *exception);
SeedValue seed_value_from_object(GObject * val, SeedException *exception);
+typedef void (*SeedFunctionCallback) (SeedContextRef ctx,
+ SeedObject function,
+ SeedObject this_object,
+ size_t argument_count,
+ const SeedValue arguments[],
+ SeedException * exception);
+
+void seed_create_function(gchar * name, SeedFunctionCallback,
+ SeedObject object);
+
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]