LibreOffice
LibreOffice 5.3 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Typedefs | Functions
interlck.h File Reference
#include <sal/config.h>
#include <sal/saldllapi.h>
#include <sal/types.h>

Go to the source code of this file.

Typedefs

typedef sal_Int32 oslInterlockedCount
 

Functions

SAL_DLLPUBLIC oslInterlockedCount osl_incrementInterlockedCount (oslInterlockedCount *pCount)
 Increments the count variable addressed by pCount. More...
 
SAL_DLLPUBLIC oslInterlockedCount osl_decrementInterlockedCount (oslInterlockedCount *pCount)
 Decrement the count variable addressed by pCount. More...
 

Typedef Documentation

typedef sal_Int32 oslInterlockedCount

Function Documentation

SAL_DLLPUBLIC oslInterlockedCount osl_decrementInterlockedCount ( oslInterlockedCount pCount)

Decrement the count variable addressed by pCount.

Parameters
pCountAddress of count variable
Returns
The adjusted value of the count variable.
SAL_DLLPUBLIC oslInterlockedCount osl_incrementInterlockedCount ( oslInterlockedCount pCount)

Increments the count variable addressed by pCount.

Parameters
pCountAddress of count variable
Returns
The adjusted value of the count variable.