Skip to content

Commit bbeeb44

Browse files
committed
[ARWINSS]
- Properly declare with FORCEINLINE (see r63152 by Pierre). svn path=/branches/arwinss/; revision=64708
1 parent d4e63bd commit bbeeb44

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

arwinss/server/include/gdiobj.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ PVOID APIENTRY GDIOBJ_ShareLockObj (HGDIOBJ hObj, DWORD ObjectType);
7272
VOID FASTCALL GreDeleteObject(HGDIOBJ hBitmap);
7373

7474
/* Inlines */
75-
ULONG
7675
FORCEINLINE
76+
ULONG
7777
GDIOBJ_ShareUnlockObjByPtr(PBASEOBJECT Object)
7878
{
7979
HGDIOBJ hobj = Object->hHmgr;

arwinss/server/include/gre.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@ GreFloodFill( PDC dc, POINTL *Pt, COLORREF Color, UINT FillType );
238238
BOOLEAN NTAPI
239239
RECTL_bIntersectRect(RECTL* prclDst, const RECTL* prcl1, const RECTL* prcl2);
240240

241-
VOID
242241
FORCEINLINE
242+
VOID
243243
RECTL_vSetRect(RECTL *prcl, LONG left, LONG top, LONG right, LONG bottom)
244244
{
245245
prcl->left = left;
@@ -248,8 +248,8 @@ RECTL_vSetRect(RECTL *prcl, LONG left, LONG top, LONG right, LONG bottom)
248248
prcl->bottom = bottom;
249249
}
250250

251-
VOID
252251
FORCEINLINE
252+
VOID
253253
RECTL_vSetEmptyRect(RECTL *prcl)
254254
{
255255
prcl->left = 0;
@@ -258,8 +258,8 @@ RECTL_vSetEmptyRect(RECTL *prcl)
258258
prcl->bottom = 0;
259259
}
260260

261-
VOID
262261
FORCEINLINE
262+
VOID
263263
RECTL_vOffsetRect(RECTL *prcl, INT cx, INT cy)
264264
{
265265
prcl->left += cx;
@@ -268,15 +268,15 @@ RECTL_vOffsetRect(RECTL *prcl, INT cx, INT cy)
268268
prcl->bottom += cy;
269269
}
270270

271-
BOOL
272271
FORCEINLINE
272+
BOOL
273273
RECTL_bIsEmptyRect(const RECTL *prcl)
274274
{
275275
return (prcl->left >= prcl->right || prcl->top >= prcl->bottom);
276276
}
277277

278-
BOOL
279278
FORCEINLINE
279+
BOOL
280280
RECTL_bPointInRect(const RECTL *prcl, INT x, INT y)
281281
{
282282
return (x >= prcl->left && x <= prcl->right &&

arwinss/server/include/palobj.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ VOID NTAPI PALETTE_vGetBitMasks(PPALETTE ppal, PULONG pulColors);
8787
PPALETTEENTRY FASTCALL ReturnSystemPalette (VOID);
8888
HPALETTE FASTCALL GdiSelectPalette(HDC, HPALETTE, BOOL);
8989

90-
ULONG
9190
FORCEINLINE
91+
ULONG
9292
CalculateShift(ULONG ulMask1, ULONG ulMask2)
9393
{
9494
ULONG ulShift1, ulShift2;

arwinss/server/include/winesup.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ typedef void (*timeout_callback)( void *private );
133133
void remove_timeout_user( struct timeout_user *user );
134134
struct timeout_user *add_timeout_user( timeout_t when, timeout_callback func, void *private );
135135

136-
VOID FORCEINLINE
136+
FORCEINLINE
137+
VOID
137138
get_current_time(timeout_t *value)
138139
{
139140
LARGE_INTEGER time;

0 commit comments

Comments
 (0)