[Zope-Checkins] CVS: Zope3/lib/python/Zope/ContextWrapper - wrapper.h:1.3.2.2

Fred Drake Jr fdrake@acm.org
Wed, 28 Nov 2001 17:47:43 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/ContextWrapper
In directory cvs.zope.org:/tmp/cvs-serv32227

Modified Files:
      Tag: Zope-3x-branch
	wrapper.h 
Log Message:
Change Wrapper_GetInnerObject() to Wrapper_GetBaseObject().
Add Wrapper_GetInnerWrapper().


=== Zope3/lib/python/Zope/ContextWrapper/wrapper.h 1.3.2.1 => 1.3.2.2 ===
     PyObject *(*getcontext)(PyObject *wrapper);
     PyObject *(*getinnercontext)(PyObject *wrapper);
+    PyObject *(*getinnerwrapper)(PyObject *wrapper);
     PyObject *(*getdict)(PyObject *wrapper);
     PyObject *(*getdictcreate)(PyObject *wrapper);
     int (*setobject)(PyObject *wrapper, PyObject *object);
@@ -63,12 +64,14 @@
         (_wrapper_api->create((object), (context)))
 #define Wrapper_GetObject(wrapper)           \
         (_wrapper_api->getobject((wrapper)))
-#define Wrapper_GetInnerObject(wrapper)           \
+#define Wrapper_GetBaseObject(wrapper)           \
         (_wrapper_api->getbaseobject((wrapper)))
 #define Wrapper_GetContext(wrapper)          \
         (_wrapper_api->getcontext((wrapper)))
 #define Wrapper_GetInnerContext(wrapper)          \
         (_wrapper_api->getinnercontext((wrapper)))
+#define Wrapper_GetInnerWrapper(wrapper)          \
+        (_wrapper_api->getinnerwrapper((wrapper)))
 #define Wrapper_GetDict(wrapper)             \
         (_wrapper_api->getdict((wrapper)))
 #define Wrapper_GetDictCreate(wrapper)       \