SOURCES: blender-cast.patch - cast to lenfunc instead of inquiry

wrobell wrobell at pld-linux.org
Fri Sep 29 16:06:50 CEST 2006


Author: wrobell                      Date: Fri Sep 29 14:06:50 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- cast to lenfunc instead of inquiry

---- Files affected:
SOURCES:
   blender-cast.patch (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SOURCES/blender-cast.patch
diff -u SOURCES/blender-cast.patch:1.3 SOURCES/blender-cast.patch:1.4
--- SOURCES/blender-cast.patch:1.3	Fri Sep 29 15:36:47 2006
+++ SOURCES/blender-cast.patch	Fri Sep 29 16:06:44 2006
@@ -1,5 +1,5 @@
 --- blender-2.42a/source/gameengine/Expressions/ListValue.cpp.orig	2004-06-07 12:03:11.000000000 +0100
-+++ blender-2.42a/source/gameengine/Expressions/ListValue.cpp	2006-09-29 14:34:38.000000000 +0100
++++ blender-2.42a/source/gameengine/Expressions/ListValue.cpp	2006-09-29 15:05:36.000000000 +0100
 @@ -23,12 +23,12 @@
  #include <config.h>
  #endif
@@ -24,9 +24,12 @@
  {
  	int i, j;
  	PyListObject *newlist;
-@@ -165,11 +165,11 @@
+@@ -163,22 +163,22 @@
+ 
+ 
  static PySequenceMethods listvalue_as_sequence = {
- 	(inquiry)listvalue_bufferlen,//(inquiry)buffer_length, /*sq_length*/
+-	(inquiry)listvalue_bufferlen,//(inquiry)buffer_length, /*sq_length*/
++	(lenfunc)listvalue_bufferlen,//(inquiry)buffer_length, /*sq_length*/
  	(binaryfunc)listvalue_buffer_concat, /*sq_concat*/
 -	0,//(intargfunc)buffer_repeat, /*sq_repeat*/
 -	(intargfunc)listvalue_buffer_item, /*sq_item*/
@@ -41,9 +44,11 @@
  };
  
  
-@@ -178,7 +178,7 @@
+ 
+ /* Is this one used ? */
  static PyMappingMethods instance_as_mapping = {
- 	(inquiry)listvalue_bufferlen, /*mp_length*/
+-	(inquiry)listvalue_bufferlen, /*mp_length*/
++	(lenfunc)listvalue_bufferlen, /*mp_length*/
  	(binaryfunc)listvalue_mapping_subscript, /*mp_subscript*/
 -	0,//(objobjargproc)instance_ass_subscript, /*mp_ass_subscript*/
 +	(objobjargproc)0,//(objobjargproc)instance_ass_subscript, /*mp_ass_subscript*/
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/blender-cast.patch?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list