diff options
Diffstat (limited to 'Lib/com/comkw.swg')
-rw-r--r-- | Lib/com/comkw.swg | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Lib/com/comkw.swg b/Lib/com/comkw.swg new file mode 100644 index 000000000..66266989d --- /dev/null +++ b/Lib/com/comkw.swg @@ -0,0 +1,16 @@ +#define IDLKW(x) %keywordwarn("'" `x` "' is a COM IDL keyword, renaming to '_" `x` "'", rename="_%s") `x` + +/* + * This list may be incomplete. This is because most IDL keywords may be used as function/parameter + * names, e.g. uuid, id, etc. Unfortunately this means that reserved names need to be found by + * trial and error (and may be IDL compiler specific). + */ + +IDLKW(coclass); +IDLKW(import); +IDLKW(importlib); +IDLKW(interface); +IDLKW(library); +IDLKW(module); + +#undef IDLKW |