mathutil changes ?

i got this little piece of code which is not working in latest SVN

can someone help to correct this for the error on column size

print ()
print (’ col_size of A Matrix ')
print ()

print ()
col_size1=newMat.col_size
print ('col_size = ',col_size1)
print ('newMat.row_size = ',newMat.row_size)

is there a sample file with example for latest mathutil commands may be?

thanks

col_size and row_size? Never header of them… len(mat.row) and len(mat.col) should do well

i search mathutil pages and did not find these col size anymore

i tought these had been replace with some new commands!

do you remember the thread showing all the new/ changes features for mathutils commands?

thanks

Revision: 42752
http://projects.blender.org/scm/viewvc.php?vi…
Author: campbellbarton
Date: 2011-12-20 04:11:23 +0000 (Tue, 20 Dec 2011)
Log Message:

rename internal matrix struct member vars to avoid confusion

Matrix.contigPtr --> matrix
Matrix.row_size --> num_col
Matrix.col_size --> num_row

That was C code only! I doubt they ever existed in python

so these are not ported at the python level!
not available right now!

i tried with len and seems to work

thanks