Пример #1
0
static void _vala_soy_joints_hinge_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	soyjointsHinge * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, SOY_JOINTS_TYPE_HINGE, soyjointsHinge);
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	switch (property_id) {
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		case SOY_JOINTS_HINGE_ANCHOR:
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		g_value_take_object (value, soy_joints_hinge_get_anchor (self));
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		break;
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		case SOY_JOINTS_HINGE_AXIS:
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		g_value_take_object (value, soy_joints_hinge_get_axis (self));
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		break;
#line 1042 "Hinge.c"
		default:
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
#line 22 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		break;
#line 1048 "Hinge.c"
	}
}
Пример #2
0
static void _vala_soy_joints_hinge_get_property (GObject * object, guint property_id, GValue * value, GParamSpec * pspec) {
	soyjointsHinge * self;
	self = G_TYPE_CHECK_INSTANCE_CAST (object, SOY_JOINTS_TYPE_HINGE, soyjointsHinge);
	switch (property_id) {
		case SOY_JOINTS_HINGE_ANCHOR:
		g_value_take_object (value, soy_joints_hinge_get_anchor (self));
		break;
		case SOY_JOINTS_HINGE_AXIS:
		g_value_take_object (value, soy_joints_hinge_get_axis (self));
		break;
		default:
		G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec);
		break;
	}
}