Andrew Wilson | 16 Jul 14:42 2010
Picon

ctypes object structure too deep

Hello,
  I'm trying to update pointers on a linked list and I'm running into the exception:

"ValueError: ctypes object structure too deep"

the code is as follows:

c.h_prev[0].h_next = c.h_next   #the previous item's next pointer points to the current item's next; unlinking it


    Any clues on how to work around this exception?
  Thanks
  Andrew


------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
ctypes-users mailing list
ctypes-users <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ctypes-users

Gmane