summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Jezabek <jezabek@poczta.onet.pl>2009-07-28 21:58:47 +0000
committerJan Jezabek <jezabek@poczta.onet.pl>2009-07-28 21:58:47 +0000
commite979cbf2d5b8ea1feed745e191313b21e1579c67 (patch)
tree1005e3dee3c7e57650b4f991191b37d386ad069d
parent8b8bf3bc1632a71e48be4b5e5205cf0effb88301 (diff)
downloadswig-e979cbf2d5b8ea1feed745e191313b21e1579c67.tar.gz
Remove the 'local' attribute from interfaces. This attribute seems to be ignored by MIDL but WIDL won't generate RPC proxies when it is set.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2008-jezabek@11462 626c5289-ae23-0410-ae9c-e8d60b6d4f22
-rw-r--r--Source/Modules/com.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Modules/com.cxx b/Source/Modules/com.cxx
index a12749a88..dc6667c6e 100644
--- a/Source/Modules/com.cxx
+++ b/Source/Modules/com.cxx
@@ -554,7 +554,7 @@ public:
Printf(f_module, "};\n\n");
// Interface for module class
- Printf(f_module, "[\n object,\n local,\n uuid(");
+ Printf(f_module, "[\n object,\n uuid(");
formatGUID(f_module, &module_iid, false);
Printf(f_module, "),\n dual\n]\ninterface I%s : IDispatch {\n", module_class_name);
@@ -1184,7 +1184,7 @@ public:
Printv(proxy_interface_forward_def, " interface I$comclassname;\n", NIL);
Printv(proxy_interface_forward_def, " interface I$comclassnameStatic;\n", NIL);
- Printv(proxy_interface_def, "[\n object,\n local,\n uuid(", NIL);
+ Printv(proxy_interface_def, "[\n object,\n uuid(", NIL);
formatGUID(proxy_interface_def, proxy_iid, false);
Printv(proxy_interface_def, "),\n dual\n]\ninterface I$comclassname : ",
@@ -1192,7 +1192,7 @@ public:
Delete(attributes);
- Printv(proxy_static_interface_def, "[\n object,\n local,\n uuid(", NIL);
+ Printv(proxy_static_interface_def, "[\n object,\n uuid(", NIL);
formatGUID(proxy_static_interface_def, proxy_static_iid, false);
Printv(proxy_static_interface_def, "),\n dual\n]\ninterface I$comclassnameStatic : "
@@ -2027,7 +2027,7 @@ public:
Printv(proxy_interface_forward_def, " interface I$comclassname;\n", NIL);
- Printv(proxy_interface_def, "[\n object,\n local,\n uuid(", NIL);
+ Printv(proxy_interface_def, "[\n object,\n uuid(", NIL);
formatGUID(proxy_interface_def, proxy_iid, false);
Printv(proxy_interface_def, ")\n]\ninterface I$comclassname : IUnknown {\n};\n\n", NIL);