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

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


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

Modified Files:
      Tag: Zope-3x-branch
	wrapper.h 
Log Message:
Change getinnerobject() to getbaseobject() to better conform to current
expectations from the acquisition world.


=== Zope3/lib/python/Zope/ContextWrapper/wrapper.h 1.3 => 1.3.2.1 ===
     PyObject *(*create)(PyObject *object, PyObject *context);
     PyObject *(*getobject)(PyObject *wrapper);
-    PyObject *(*getinnerobject)(PyObject *wrapper);
+    PyObject *(*getbaseobject)(PyObject *wrapper);
     PyObject *(*getcontext)(PyObject *wrapper);
     PyObject *(*getinnercontext)(PyObject *wrapper);
     PyObject *(*getdict)(PyObject *wrapper);
@@ -64,7 +64,7 @@
 #define Wrapper_GetObject(wrapper)           \
         (_wrapper_api->getobject((wrapper)))
 #define Wrapper_GetInnerObject(wrapper)           \
-        (_wrapper_api->getinnerobject((wrapper)))
+        (_wrapper_api->getbaseobject((wrapper)))
 #define Wrapper_GetContext(wrapper)          \
         (_wrapper_api->getcontext((wrapper)))
 #define Wrapper_GetInnerContext(wrapper)          \