[Zope3-checkins] CVS: Zope3/src/zope/proxy - proxy.h:1.4
Steve Alexander
steve@cat-box.net
Thu, 29 May 2003 05:07:07 -0400
Update of /cvs-repository/Zope3/src/zope/proxy
In directory cvs.zope.org:/tmp/cvs-serv30464/src/zope/proxy
Modified Files:
proxy.h
Log Message:
Wrappers now allow subclasses to supply new methods and other descriptors,
and to override existing slots and methods.
=== Zope3/src/zope/proxy/proxy.h 1.3 => 1.4 ===
--- Zope3/src/zope/proxy/proxy.h:1.3 Wed May 28 11:49:11 2003
+++ Zope3/src/zope/proxy/proxy.h Thu May 29 05:06:36 2003
@@ -43,7 +43,7 @@
return (_proxy_api == NULL) ? -1 : 0;
}
-#define ProxyType (_proxy_api->proxytype)
+#define ProxyType (*_proxy_api->proxytype)
#define Proxy_Check(obj) (_proxy_api->check((obj)))
#define Proxy_CheckExact(obj) ((obj)->ob_type == ProxyType)
#define Proxy_New(obj) (_proxy_api->create((obj)))