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.
24 lines
392 B
C
24 lines
392 B
C
/**
|
|
* 2ine; an OS/2 emulator for Linux.
|
|
*
|
|
* Please see the file LICENSE.txt in the source's root directory.
|
|
*
|
|
* This file written by Ryan C. Gordon.
|
|
*/
|
|
|
|
#include <unistd.h>
|
|
|
|
#include "os2native.h"
|
|
#include "msg.h"
|
|
|
|
#include "msg-lx.h"
|
|
|
|
APIRET DosPutMessage(HFILE handle, ULONG msglen, PCHAR msg)
|
|
{
|
|
write(handle, msg, msglen);
|
|
return 0;
|
|
} // DosPutMessage
|
|
|
|
// end of msg.c ...
|
|
|