Robert Shearman : widl: Ignore [object] attribute on interfaces written to a typelib.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 18 10:15:46 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: 7ca82cd6d27a509510c1b092474863bcb17c41c7
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=7ca82cd6d27a509510c1b092474863bcb17c41c7

Author: Robert Shearman <rob at codeweavers.com>
Date:   Tue Apr 18 11:55:31 2006 +0100

widl: Ignore [object] attribute on interfaces written to a typelib.

---

 tools/widl/typelib.c    |    1 +
 tools/widl/write_msft.c |    3 +++
 2 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tools/widl/typelib.c b/tools/widl/typelib.c
index a3eee2c..fe32c8f 100644
--- a/tools/widl/typelib.c
+++ b/tools/widl/typelib.c
@@ -268,6 +268,7 @@ void add_typedef(type_t *tdef, var_t *na
      typelib_entry_t *entry;
      if (!typelib) return;
 
+     chat("add typedef: %s\n", name->name);
      entry = xmalloc(sizeof(*entry));
      entry->kind = TKIND_ALIAS;
      entry->u.tdef = xmalloc(sizeof(*entry->u.tdef));
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c
index 0305160..ea48a9a 100644
--- a/tools/widl/write_msft.c
+++ b/tools/widl/write_msft.c
@@ -1730,6 +1730,9 @@ static msft_typeinfo_t *create_msft_type
             typeinfo->flags |= 0x80; /* TYPEFLAG_FNONEXTENSIBLE */
             break;
 
+        case ATTR_OBJECT:
+            break;
+
         case ATTR_ODL:
             break;
 




More information about the wine-cvs mailing list