From bbbc6c0ba483bde0cfd0be7446447ddc1877db09 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 21 Jun 2004 00:21:07 +0000 Subject: [PATCH] (MTEXT_READ_ONLY_P): New macro. --- src/internal.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/internal.h b/src/internal.h index e009d86..1dd0782 100644 --- a/src/internal.h +++ b/src/internal.h @@ -438,6 +438,8 @@ struct MText } while (0) +#define MTEXT_READ_ONLY_P(mt) ((mt)->allocated < 0) + #define M_CHECK_READONLY(mt, ret) \ do { \ if ((mt)->allocated < 0) \ -- 1.7.10.4