Explorar el Código

structure: BAVL: rename BAVL_DEBUG to BAVL_AUTO_VERIFY

ambrop7 hace 13 años
padre
commit
34317a2a39
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      structure/BAVL.h

+ 1 - 1
structure/BAVL.h

@@ -215,7 +215,7 @@ static int _BAVL_compare_nodes (BAVL *o, BAVLNode *n1, BAVLNode *n2)
     return _BAVL_compare_values(o, _BAVL_node_value(o, n1), _BAVL_node_value(o, n2));
 }
 
-#ifdef BAVL_DEBUG
+#ifdef BAVL_AUTO_VERIFY
 #define BAVL_ASSERT(_h) BAVL_Verify((_h));
 #else
 #define BAVL_ASSERT(_h)