]> git.eshelyaron.com Git - emacs.git/commitdiff
(BINDING_STACK_SIZE): New macro.
authorGerd Moellmann <gerd@gnu.org>
Wed, 15 Nov 2000 19:24:35 +0000 (19:24 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 15 Nov 2000 19:24:35 +0000 (19:24 +0000)
src/lisp.h

index 9e0a769d55c50612ed2678c7e1137c940ce6b816..4ea5dce5ddf0e1299c7d63836f89e29db31f87a1 100644 (file)
@@ -1506,6 +1506,8 @@ extern struct specbinding *specpdl;
 extern struct specbinding *specpdl_ptr;
 extern int specpdl_size;
 
+#define BINDING_STACK_SIZE()   (specpdl_ptr - specpdl)
+
 /* Everything needed to describe an active condition case.  */
 struct handler
   {