Mercurial > hg > xemacs-beta
diff src/lisp.h @ 2552:166ed8151e62
[xemacs-hg @ 2005-02-03 16:30:33 by james]
Don't define this to c_this, and rename variables currently named this.
See xemacs-patches message with ID <psbrb1ehjl.fsf@diannao.ittc.ku.edu>.
author | james |
---|---|
date | Thu, 03 Feb 2005 16:30:38 +0000 |
parents | c4c8a36043be |
children | e6854ec89f8e |
line wrap: on
line diff
--- a/src/lisp.h Thu Feb 03 16:14:08 2005 +0000 +++ b/src/lisp.h Thu Feb 03 16:30:38 2005 +0000 @@ -516,8 +516,6 @@ we don't want by creating overloaded versions of them and declaring them private. */ -#undef this - class Bytecount; class Bytebpos; class Bytexpos; @@ -942,8 +940,6 @@ { return Bytecount (x - y); } #endif -#define this c_this - #endif /* __cplusplus */ /* Counts of elements */ @@ -3235,9 +3231,7 @@ gcpro (const gcpro& g) : next (g.next), var (g.var), nvars (g.nvars) { } gcpro& operator= (const gcpro& g) { next = g.next; var = g.var; nvars = g.nvars; -#undef this return *this;} -#define this c_this ~gcpro () { assert (!next); } #endif /* defined (__cplusplus) && defined (ERROR_CHECK_GC) */ };