summaryrefslogtreecommitdiff
path: root/Source/Modules
diff options
context:
space:
mode:
authorJan Jezabek <jezabek@poczta.onet.pl>2008-08-13 18:28:53 +0000
committerJan Jezabek <jezabek@poczta.onet.pl>2008-08-13 18:28:53 +0000
commit607dc75d3501a4fa02d1a771e4066073a7a866ae (patch)
tree1a23e9bde5c648c909a68ecbbc46e7a8a0a1e772 /Source/Modules
parent4ad2eed0a872c26bd7cd486979b7c8161ee9a0dc (diff)
downloadswig-607dc75d3501a4fa02d1a771e4066073a7a866ae.tar.gz
Fixed test-suite support for resource compiler from Platform SDK (rc.exe). Fixed syntax for specifying output file in the MSVC compiler. Interfaces generated for opaque classes now explicitly inherit from IUnknown - MIDL would generate incorrect headers otherwise.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-jezabek@10757 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Modules')
-rw-r--r--Source/Modules/com.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Modules/com.cxx b/Source/Modules/com.cxx
index fe74a52ac..26e75703e 100644
--- a/Source/Modules/com.cxx
+++ b/Source/Modules/com.cxx
@@ -1998,7 +1998,7 @@ public:
Printv(proxy_class_def, " [\n object,\n local,\n uuid(", NIL);
formatGUID(proxy_class_def, proxy_iid, false);
- Printv(proxy_class_def, ")\n ]\n interface I$comclassname {\n };\n\n", NIL);
+ Printv(proxy_class_def, ")\n ]\n interface I$comclassname : IUnknown {\n };\n\n", NIL);
Replaceall(proxy_class_forward_def, "$comclassname", classname);
Replaceall(proxy_class_def, "$comclassname", classname);