seed r419 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r419 - trunk/libseed
- Date: Tue, 9 Dec 2008 20:18:28 +0000 (UTC)
Author: racarr
Date: Tue Dec 9 20:18:28 2008
New Revision: 419
URL: http://svn.gnome.org/viewvc/seed?rev=419&view=rev
Log:
API: Add seed_object_set_property_at_index.
Modified:
trunk/libseed/seed-api.c
trunk/libseed/seed.h
Modified: trunk/libseed/seed-api.c
==============================================================================
--- trunk/libseed/seed-api.c (original)
+++ trunk/libseed/seed-api.c Tue Dec 9 20:18:28 2008
@@ -38,6 +38,15 @@
return JSObjectMake(ctx, class, private);
}
+gboolean seed_object_set_property_at_index(JSContextRef ctx,
+ JSObjectRef object,
+ gint index,
+ JSValueRef value,
+ JSValueRef * exception)
+{
+ JSObjectSetPropertyAtIndex(ctx, object, index, value, exception);
+}
+
JSValueRef seed_object_call(JSContextRef ctx,
JSObjectRef object,
JSObjectRef this,
Modified: trunk/libseed/seed.h
==============================================================================
--- trunk/libseed/seed.h (original)
+++ trunk/libseed/seed.h Tue Dec 9 20:18:28 2008
@@ -135,6 +135,12 @@
SeedObject object,
const gchar * name);
+void seed_object_set_property_at_index(SeedContext ctx,
+ SeedObject object,
+ gint index,
+ SeedValue value,
+ SeedException * exception);
+
gboolean seed_value_to_boolean(SeedContext ctx,
SeedValue val,
SeedException * exception);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]