VirtualBox

Changeset 102251 in vbox


Ignore:
Timestamp:
Nov 22, 2023 11:39:01 AM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
160376
Message:

libs/xpcom: Make more stuff inline, bugref:10545

Location:
trunk/src/libs/xpcom18a4
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/libs/xpcom18a4/Makefile.kmk

    r102250 r102251  
    390390        nsprpub/pr/src/io/prprf.c \
    391391        nsprpub/pr/src/misc/prinrval.c \
    392         nsprpub/pr/src/misc/prlong.c \
    393392        nsprpub/lib/ds/plarena.c \
    394393        nsprpub/lib/ds/plhash.c \
  • trunk/src/libs/xpcom18a4/nsprpub/pr/include/prlong.h

    r102246 r102251  
    4949#include "prtypes.h"
    5050
     51#include <iprt/types.h>
     52
    5153#ifdef VBOX_WITH_XPCOM_NAMESPACE_CLEANUP
    5254#define LL_MaxInt VBoxNsllLL_MaxInt
     
    6769**      initializer
    6870***********************************************************************/
    69 NSPR_API(PRInt64) LL_MaxInt(void);
    70 NSPR_API(PRInt64) LL_MinInt(void);
    71 NSPR_API(PRInt64) LL_Zero(void);
    72 NSPR_API(PRUint64) LL_MaxUint(void);
     71DECL_FORCE_INLINE(PRInt64) LL_MaxInt(void)
     72{
     73    return INT64_MAX;
     74}
     75
     76DECL_FORCE_INLINE(PRInt64) LL_MinInt(void)
     77{
     78    return INT64_MIN;
     79}
     80
     81DECL_FORCE_INLINE(PRInt64) LL_Zero(void)
     82{
     83    return 0;
     84}
     85
     86DECL_FORCE_INLINE(PRUint64) LL_MaxUint(void)
     87{
     88    return UINT64_MAX;
     89}
    7390
    7491#define LL_MAXINT   LL_MaxInt()
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette