Commit c582ccb9 authored by Alexandre Julliard's avatar Alexandre Julliard

Added inline definition for MapSL.

parent 1a0eeb53
......@@ -5,6 +5,7 @@
#include "winbase.h"
#include "winnls.h"
#include "wine/windef16.h"
#include "wine/library.h"
#include "pshpack1.h"
typedef struct _SEGINFO {
......@@ -355,4 +356,10 @@ LONG WINAPI wine_call_to_16_long( FARPROC16 target, INT nArgs );
void WINAPI wine_call_to_16_regs_short( CONTEXT86 *context, INT nArgs );
void WINAPI wine_call_to_16_regs_long ( CONTEXT86 *context, INT nArgs );
/* Some optimizations */
extern inline LPVOID WINAPI MapSL( SEGPTR segptr )
{
return (char *)wine_ldt_copy.base[SELECTOROF(segptr) >> __AHSHIFT] + OFFSETOF(segptr);
}
#endif /* __WINE_WINE_WINBASE16_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment