global fix for operator*(), now mapped as __ref__

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@6861 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-12-11 23:54:07 +00:00
commit 6737de7198

View file

@ -80,18 +80,9 @@
/* Smart pointer handling */ /* Smart pointer handling */
%rename(__deref__) operator->; %rename(__deref__) *::operator->;
#if !definded(SWIG_WRAP_OPERATOR_REF) && !definded(SWIG_NO_WRAP_OPERATOR_REF) %rename(__ref__) *::operator*();
#define SWIG_WRAP_OPERATOR_REF %rename(__ref__) *::operator*() const;
#endif
#ifdef SWIG_WRAP_OPERATOR_REF
%rename(__ref__) operator*();
%rename(__ref__) operator*() const;
#else
%ignorewarn("396:operator*() ignored") operator*();
%ignorewarn("396:operator*() const ignored") operator*() const;
#endif
/* Define std namespace */ /* Define std namespace */
namespace std { namespace std {