# HG changeset patch # User Andreas Schwab # Date 892636349 0 # Node ID 25dd289d21bfaedbe3f1ea1db4efc671fb962fe3 # Parent bf0e53366c552f208ef8ec0ad7db03cbcc235d6a (RE_TRANSLATE_P): New macro. diff --git a/regex.h b/regex.h --- a/regex.h +++ b/regex.h @@ -290,6 +290,7 @@ #ifndef RE_TRANSLATE_TYPE #define RE_TRANSLATE_TYPE char * #define RE_TRANSLATE(TBL, C) ((TBL)[C]) +#define RE_TRANSLATE_P(TBL) (TBL) #endif struct re_pattern_buffer