seed r287 - trunk/libseed
- From: racarr svn gnome org
- To: svn-commits-list gnome org
- Subject: seed r287 - trunk/libseed
- Date: Sat, 22 Nov 2008 00:32:04 +0000 (UTC)
Author: racarr
Date: Sat Nov 22 00:32:03 2008
New Revision: 287
URL: http://svn.gnome.org/viewvc/seed?rev=287&view=rev
Log:
seed_struct_get_pointer -> seed_pointer_get_pointer
Modified:
trunk/libseed/seed-engine.c
trunk/libseed/seed-gtype.c
trunk/libseed/seed-structs.c
trunk/libseed/seed-structs.h
trunk/libseed/seed-types.c
Modified: trunk/libseed/seed-engine.c
==============================================================================
--- trunk/libseed/seed-engine.c (original)
+++ trunk/libseed/seed-engine.c Sat Nov 22 00:32:03 2008
@@ -237,7 +237,7 @@
// get it.
if (!
((object = seed_value_to_object(this_object, 0)) ||
- (object = seed_struct_get_pointer(this_object))))
+ (object = seed_pointer_get_pointer(this_object))))
instance_method = FALSE;
n_args = g_callable_info_get_n_args((GICallableInfo *) info);
Modified: trunk/libseed/seed-gtype.c
==============================================================================
--- trunk/libseed/seed-gtype.c (original)
+++ trunk/libseed/seed-gtype.c Sat Nov 22 00:32:03 2008
@@ -235,7 +235,7 @@
property_count = seed_value_to_int(oldcount, exception);
- class = seed_struct_get_pointer(thisObject);
+ class = seed_pointer_get_pointer(thisObject);
g_object_class_install_property(class, property_count, spec);
newcount = seed_value_from_int(property_count+1, exception);
Modified: trunk/libseed/seed-structs.c
==============================================================================
--- trunk/libseed/seed-structs.c (original)
+++ trunk/libseed/seed-structs.c Sat Nov 22 00:32:03 2008
@@ -85,7 +85,7 @@
NULL /* Convert To Type */
};
-gpointer seed_struct_get_pointer(JSValueRef strukt)
+gpointer seed_pointer_get_pointer(JSValueRef strukt)
{
if (JSValueIsObjectOfClass(eng->context, strukt, seed_pointer_class))
return JSObjectGetPrivate((JSObjectRef) strukt);
Modified: trunk/libseed/seed-structs.h
==============================================================================
--- trunk/libseed/seed-structs.h (original)
+++ trunk/libseed/seed-structs.h Sat Nov 22 00:32:03 2008
@@ -28,7 +28,7 @@
JSObjectRef seed_make_pointer(gpointer pointer);
-gpointer seed_struct_get_pointer(JSValueRef strukt);
+gpointer seed_pointer_get_pointer(JSValueRef strukt);
void seed_structs_init();
#endif
Modified: trunk/libseed/seed-types.c
==============================================================================
--- trunk/libseed/seed-types.c (original)
+++ trunk/libseed/seed-types.c Sat Nov 22 00:32:03 2008
@@ -303,7 +303,7 @@
{
if (JSValueIsObjectOfClass(eng->context,
value, seed_struct_class))
- arg->v_pointer = seed_struct_get_pointer(value);
+ arg->v_pointer = seed_pointer_get_pointer(value);
else
{
GType type =
@@ -752,7 +752,7 @@
/* Boxed handling is broken. Will be fixed in struct overhall. */
else if (g_type_is_a(type, G_TYPE_BOXED))
{
- gpointer p = seed_struct_get_pointer(val);
+ gpointer p = seed_pointer_get_pointer(val);
if (p)
{
g_value_init(ret, type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]