[seed: 2/5] More gtk-doc
- From: Robert Carr <racarr src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed: 2/5] More gtk-doc
- Date: Tue, 24 Mar 2009 23:05:56 -0400 (EDT)
commit 838b823356aec1dfd6494e4bf1f013cab98a4611
Author: Robert Carr <racarr mireia (none)>
Date: Wed Mar 18 16:05:15 2009 -0400
More gtk-doc
---
doc/reference/html/index.html | 4 ++--
libseed/seed-types.c | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diff --git a/doc/reference/html/index.html b/doc/reference/html/index.html
index d414dd5..739f908 100644
--- a/doc/reference/html/index.html
+++ b/doc/reference/html/index.html
@@ -3,8 +3,8 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Seed Reference Manual</title>
-<meta name="generator" content="DocBook XSL Stylesheets V1.74.0">
-<link rel="home" href="index.html" title="Seed Reference Manual">
+<meta name="generator" content="DocBook XSL Stylesheets V1.73.2">
+<link rel="start" href="index.html" title="Seed Reference Manual">
<link rel="next" href="ch01.html" title="Seed External API">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
diff --git a/libseed/seed-types.c b/libseed/seed-types.c
index 8da713e..bc7d798 100644
--- a/libseed/seed-types.c
+++ b/libseed/seed-types.c
@@ -1181,6 +1181,14 @@ seed_gvalue_from_seed_value (JSContextRef ctx,
return FALSE;
}
+/**
+ * seed_object_get_property
+ * @ctx: A #SeedContext
+ * @object: A #SeedObject
+ * @name: The property to get, should be a valid JavaScript identifier
+ *
+ * Returns: The value of the property or %NULL
+ */
JSValueRef
seed_object_get_property (JSContextRef ctx,
JSObjectRef val, const gchar * name)
@@ -1196,6 +1204,15 @@ seed_object_get_property (JSContextRef ctx,
return ret;
}
+/**
+ * seed_object_set_property
+ * @ctx: A #SeedContext
+ * @object: A #SeedObject
+ * @name: The property to set, should be a valid JavaScript identifier
+ * @value: The value to set the property to.
+ *
+ * Returns: %TRUE on success, %FALSE otherwise.
+ */
gboolean
seed_object_set_property (JSContextRef ctx, JSObjectRef object,
const gchar * name, JSValueRef value)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]