Rob Shearman
23673ca373
widl: Determine pointer fc at generation time instead of at parse time.
...
Avoid changing the details of a pointer once created.
Properly determine the pointer type for arrays.
2009-03-09 12:09:39 +01:00
Rob Shearman
9d878f220b
widl: Add coclass and module types to the global namespace.
2009-03-05 18:39:02 +01:00
Rob Shearman
13c3967522
widl: Move type_new_enum, type_new_struct, type_new_encapsulated_union and type_new_unencapsulated_union to typetree.c.
2009-03-05 18:39:02 +01:00
Rob Shearman
4866026d7f
widl: Move the pointer referent, array element, function return type and interface inheritance properties from type_t to details structures for the appropriate types.
2009-03-05 18:39:02 +01:00
Rob Shearman
277e0617d5
widl: Store the abstract identifier of the type in type object instead of an NDR format character.
2009-03-05 18:39:02 +01:00
Rob Shearman
319a7a102e
widl: Implement a more abstract way of representing basic types.
2009-03-05 18:38:45 +01:00
Rob Shearman
7e08ff27c2
widl: Move declarray property to array_details.
...
Invert the property since an array being declared as a pointer is more
surprising than an array being declared as an array.
Provide an accessor, type_array_is_decl_as_ptr.
2009-03-05 16:34:00 +01:00
Rob Shearman
0f7f7922ba
widl: Use type_get_type to determine the types of types during parsing and checking.
2009-02-23 15:25:44 +01:00
Alexandre Julliard
ef6971da40
widl: Replace unsigned long and size_t by unsigned int where appropriate.
2009-02-06 14:54:03 +01:00
Rob Shearman
77228b52e6
widl: Determine the type of an array entirely at code generation time instead of at parse time.
...
Previously, this was done partially (for fixed array types only).
2009-01-07 12:27:14 +01:00
Rob Shearman
9b139018cf
widl: Add new function, type_iface_get_stmts.
...
Use it to retrieve statements contained in interface types.
2009-01-06 12:58:41 +01:00
Rob Shearman
8fc59d0ead
widl: Add a new function, type_iface_get_inherit.
...
Use it for retrieving the parent interface for interfaces.
2009-01-06 12:58:33 +01:00
Rob Shearman
8a42bc1f7b
widl: Move the ifaces field of the type_t structure to coclass details.
2009-01-06 12:58:01 +01:00
Rob Shearman
83b1f08117
widl: Add function for getting the interfaces defined by a coclass type.
...
Split out the defining of coclass types in the parser into a function.
2009-01-06 12:57:56 +01:00
Rob Shearman
1f519e17cc
widl: Don't store typelib kind information in the type structure.
...
It can trivially be derived from the type field now.
2009-01-06 12:57:31 +01:00
Rob Shearman
64520ecdc7
widl: Move creation of module type into a separate function, type_new_module and give it a special FC type.
2009-01-06 12:57:15 +01:00
Rob Shearman
8b326c4ff8
widl: Move duptype and alias to parser.y.
...
Make duptype static and rename alias to type_new_alias.
2009-01-06 12:57:02 +01:00
Rob Shearman
901a42b7f9
widl: Move funcs and stmts fields from type_t structure to module_details and function_details.
2009-01-06 12:56:15 +01:00
Rob Shearman
b1f8560ae0
widl: Do the consistency checks on interfaces after parsing is complete.
2009-01-06 12:53:49 +01:00
Rob Shearman
6b955b514d
widl: Generate header files from the parse tree instead of using hooks in the parser.
2008-12-29 14:54:34 +01:00
Rob Shearman
213f32744f
widl: Store the type-specific information in a union in the type_t structure.
...
Use pointers for the information for structures, enumerations,
functions and interfaces so that we can determine whether or not the
type has been defined yet and to enable more information to be stored.
2008-12-29 14:45:16 +01:00
Rob Shearman
04a22cc412
widl: Hide the details of where arguments, fields, values and cases are stored in the type_t structure for functions, structures, enums and unions.
2008-12-29 14:42:47 +01:00