wine/tools/widl
Zebediah Figura e654b631f2 widl: Generate "static inline" instead of "static FORCEINLINE" for COM inline wrappers.
mingw-w64 defines __forceinline (and therefore FORCEINLINE) as
"extern __inline__ __attribute__((__always_inline__,__gnu_inline__)). This means
that COM inline wrappers specify multiple storage classes and hence cannot be
compiled.

Wine defines FORCEINLINE simply as "inline" (and uses "static" everywhere), so
this is a non-issue for Wine. However, since Wine and mingw-w64 share the source
code of widl and of most IDL headers, this patch changes the definition for both
projects.

There's no reason to force inlining here, especially since the wrappers need to
be manually enabled, and we don't need to match PSDK semantics where these
wrappers don't even exist.

In practice, use "__inline__" instead of "inline" for GNU C targets, to preserve
compatibility with C89 in mingw-w64 headers.
2022-09-28 15:27:51 +02:00
..
client.c widl: Remove the uuid_t typedef which causes conflicts on macOS. 2022-01-25 09:27:15 +01:00
expr.c
expr.h
hash.c widl: Silence error message for unknown languages. 2022-04-01 20:30:57 +02:00
hash.h widl: Avoid using Windows types where possible. 2022-01-24 12:27:47 +01:00
header.c widl: Generate "static inline" instead of "static FORCEINLINE" for COM inline wrappers. 2022-09-28 15:27:51 +02:00
header.h
Makefile.in widl: Search for imported typelibs in the library search path. 2021-11-12 22:42:51 +01:00
parser.h
parser.l widl: Add support for the [overload] attribute. 2022-01-25 20:50:49 +01:00
parser.y widl: Allow parameterized types in runtimeclass interfaces. 2022-09-13 16:22:21 +02:00
proxy.c widl: Remove the uuid_t typedef which causes conflicts on macOS. 2022-01-25 09:27:15 +01:00
register.c widl: Remove the uuid_t typedef which causes conflicts on macOS. 2022-01-25 09:27:15 +01:00
server.c widl: Remove the uuid_t typedef which causes conflicts on macOS. 2022-01-25 09:27:15 +01:00
typegen.c widl: Remove the uuid_t typedef which causes conflicts on macOS. 2022-01-25 09:27:15 +01:00
typegen.h
typelib.c widl: Remove the uuid_t typedef which causes conflicts on macOS. 2022-01-25 09:27:15 +01:00
typelib.h
typelib_struct.h widl: Remove the uuid_t typedef which causes conflicts on macOS. 2022-01-25 09:27:15 +01:00
typetree.c widl: Use "cinterface(IInspectable)" for IInspectable signature. 2022-09-14 22:38:34 +02:00
typetree.h widl: Support namespaces for union declarations. 2022-07-07 19:10:02 +02:00
utils.c tools: Use flush_output_buffer() in a few more places. 2022-01-19 10:55:08 +01:00
utils.h widl: Remove the uuid_t typedef which causes conflicts on macOS. 2022-01-25 09:27:15 +01:00
widl.c tools: Consistently use xmalloc/xrealloc/xstrdup everywhere. 2022-02-08 20:24:14 +01:00
widl.h tools: Move target CPU and platform handling to the common tools.h header. 2021-11-18 11:50:30 +01:00
widl.man.in widl: Search for imported typelibs in the library search path. 2021-11-12 22:42:51 +01:00
widltypes.h widl: Fix nested parameterized types C / short name output. 2022-01-25 20:50:49 +01:00
write_msft.c widl: Remove set but unused variable. 2022-05-25 11:58:57 +02:00