[seed] Document seed_make_function



commit 07f62155d4ad00a43409f80934c130cf9345500f
Author: Robert Carr <racarr svn gnome org>
Date:   Thu May 21 16:40:19 2009 -0400

    Document seed_make_function
---
 libseed/seed-api.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/libseed/seed-api.c b/libseed/seed-api.c
index 328735c..92d066e 100644
--- a/libseed/seed-api.c
+++ b/libseed/seed-api.c
@@ -705,6 +705,14 @@ seed_object_is_of_class (JSContextRef ctx, JSObjectRef obj, JSClassRef class)
   return JSValueIsObjectOfClass (ctx, obj, class);
 }
 
+/**
+ * seed_make_function:
+ * @ctx: A valid #SeedContext
+ * @func: A #SeedFunctionCallback to implement the function.
+ * @name: The name of the function (used in exceptions).
+ *
+ * Return value: The function
+ */
 JSObjectRef
 seed_make_function (JSContextRef ctx,
 		    gpointer func,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]