Now a perl script parses our headers and generates glue code, export tables, etc. This automates all the macro nonsense and bridge code, and separates out all the stuff you need for binary compat with OS/2, so you can remove it all from the build if you want to just build native libraries that supply the OS/2 API to native apps (like Winelib vs Wine). This makes upkeep details less nasty, and easier to build native binaries when implementing and improving APIs, so you can debug directly without a lot of drama.
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
/**
|
|
* 2ine; an OS/2 emulator for Linux.
|
|
*
|
|
* Please see the file LICENSE.txt in the source's root directory.
|
|
*/
|
|
|
|
/* THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. see lxapigen.pl */
|
|
|
|
/* This is glue code for OS/2 binaries. Native binaries don't need this. */
|
|
#if LX_LEGACY
|
|
|
|
LX_NATIVE_MODULE_INIT()
|
|
LX_NATIVE_EXPORT(WinBeginPaint, 703),
|
|
LX_NATIVE_EXPORT(WinCreateMsgQueue, 716),
|
|
LX_NATIVE_EXPORT(WinDestroyMsgQueue, 726),
|
|
LX_NATIVE_EXPORT(WinDestroyWindow, 728),
|
|
LX_NATIVE_EXPORT(WinEndPaint, 738),
|
|
LX_NATIVE_EXPORT(WinFillRect, 743),
|
|
LX_NATIVE_EXPORT(WinGetLastError, 753),
|
|
LX_NATIVE_EXPORT(WinInitialize, 763),
|
|
LX_NATIVE_EXPORT(WinTerminate, 888),
|
|
LX_NATIVE_EXPORT(WinPostQueueMsg, 902),
|
|
LX_NATIVE_EXPORT(WinCreateStdWindow, 908),
|
|
LX_NATIVE_EXPORT(WinCreateWindow, 909),
|
|
LX_NATIVE_EXPORT(WinDefWindowProc, 911),
|
|
LX_NATIVE_EXPORT(WinDispatchMsg, 912),
|
|
LX_NATIVE_EXPORT(WinGetMsg, 915),
|
|
LX_NATIVE_EXPORT(WinPostMsg, 919),
|
|
LX_NATIVE_EXPORT(WinSendMsg, 920),
|
|
LX_NATIVE_EXPORT(WinRegisterClass, 926)
|
|
LX_NATIVE_MODULE_INIT_END()
|
|
|
|
#endif /* LX_LEGACY */
|
|
|
|
/* end of pmwin-lx.h ... */
|
|
|