(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 9e0a769..4ea5dce 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
   {