Commit 1e7d7d09 authored by Alexandre Julliard's avatar Alexandre Julliard

vbscript: Tweak enum macros to avoid confusing winapi_extract.

parent 20e85dd2
...@@ -25,21 +25,21 @@ ...@@ -25,21 +25,21 @@
WINE_DEFAULT_DEBUG_CHANNEL(vbscript); WINE_DEFAULT_DEBUG_CHANNEL(vbscript);
#define REGEXP_TID_LIST \ #define REGEXP_TID_LIST \
XDIID(RegExp2) \ XDIID(RegExp2), \
XDIID(Match2) \ XDIID(Match2), \
XDIID(MatchCollection2) \ XDIID(MatchCollection2), \
XDIID(SubMatches) XDIID(SubMatches)
typedef enum { typedef enum {
#define XDIID(iface) iface ## _tid, #define XDIID(iface) iface ## _tid
REGEXP_TID_LIST REGEXP_TID_LIST,
#undef XDIID #undef XDIID
REGEXP_LAST_tid REGEXP_LAST_tid
} regexp_tid_t; } regexp_tid_t;
static REFIID tid_ids[] = { static REFIID tid_ids[] = {
#define XDIID(iface) &IID_I ## iface, #define XDIID(iface) &IID_I ## iface
REGEXP_TID_LIST REGEXP_TID_LIST
#undef XDIID #undef XDIID
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment