Update of /cvsroot/wpdev/wolfpack/python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25474/python
Modified Files:
item.cpp
Log Message:
Added item.getoutmostchar and item.getoutmostitem to documentation
Index: item.cpp
===================================================================
RCS file: /cvsroot/wpdev/wolfpack/python/item.cpp,v
retrieving revision 1.133
retrieving revision 1.134
diff -C2 -d -r1.133 -r1.134
*** item.cpp 19 Sep 2004 22:13:36 -0000 1.133
--- item.cpp 27 Sep 2004 22:26:24 -0000 1.134
***************
*** 1,1457 ****
! /*
! * Wolfpack Emu (WP)
! * UO Server Emulation Program
! *
! * Copyright 2001-2004 by holders identified in AUTHORS.txt
! * This program is free software; you can redistribute it and/or modify
! * it under the terms of the GNU General Public License as published by
! * the Free Software Foundation; either version 2 of the License, or
! * (at your option) any later version.
! *
[...2893 lines suppressed...]
! if ( a->ob_type != &wpItemType || b->ob_type != &wpItemType )
! return -1;
!
! P_ITEM pA = getWpItem( a );
! P_ITEM pB = getWpItem( b );
!
! return !( pA == pB );
! }
!
! int PyConvertItem( PyObject* object, P_ITEM* item )
! {
! if ( object->ob_type != &wpItemType )
! {
! PyErr_BadArgument();
! return 0;
! }
!
! *item = ( ( wpItem * ) object )->pItem;
! return 1;
! }
|