diff options
author | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:28:02 +0000 |
---|---|---|
committer | Kaleb Keithley <kaleb@freedesktop.org> | 2003-11-25 19:28:02 +0000 |
commit | 023a09fe640f876478157e5b4cd9cfec1452da4b (patch) | |
tree | f62c24617ddc9ece3ee5fc252be716aac981dc3f /sync.h | |
parent | 343e78e15048e6a25791449bfc7566c07ccddf28 (diff) | |
download | xorg-proto-xextproto-023a09fe640f876478157e5b4cd9cfec1452da4b.tar.gz |
XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_903_specialxf86-4_3_99_902xf86-4_3_99_901xf86-4_3_99_16xf86-012804-2330
Diffstat (limited to 'sync.h')
-rw-r--r-- | sync.h | 66 |
1 files changed, 1 insertions, 65 deletions
@@ -48,7 +48,7 @@ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ******************************************************************/ -/* $XFree86: xc/include/extensions/sync.h,v 1.4 2001/12/20 19:40:59 tsi Exp $ */ +/* $XFree86: xc/include/extensions/sync.h,v 1.5 2003/11/17 22:20:03 dawes Exp $ */ #ifndef _SYNC_H_ #define _SYNC_H_ @@ -139,113 +139,81 @@ typedef struct _XSyncValue { /* have to put these prototypes before the corresponding macro definitions */ extern void XSyncIntToValue( -#if NeedFunctionPrototypes XSyncValue* /*pv*/, int /*i*/ -#endif ); extern void XSyncIntsToValue( -#if NeedFunctionPrototypes XSyncValue* /*pv*/, unsigned int /*l*/, int /*h*/ -#endif ); extern Bool XSyncValueGreaterThan( -#if NeedFunctionPrototypes XSyncValue /*a*/, XSyncValue /*b*/ -#endif ); extern Bool XSyncValueLessThan( -#if NeedFunctionPrototypes XSyncValue /*a*/, XSyncValue /*b*/ -#endif ); extern Bool XSyncValueGreaterOrEqual( -#if NeedFunctionPrototypes XSyncValue /*a*/, XSyncValue /*b*/ -#endif ); extern Bool XSyncValueLessOrEqual( -#if NeedFunctionPrototypes XSyncValue /*a*/, XSyncValue /*b*/ -#endif ); extern Bool XSyncValueEqual( -#if NeedFunctionPrototypes XSyncValue /*a*/, XSyncValue /*b*/ -#endif ); extern Bool XSyncValueIsNegative( -#if NeedFunctionPrototypes XSyncValue /*v*/ -#endif ); extern Bool XSyncValueIsZero( -#if NeedFunctionPrototypes XSyncValue /*a*/ -#endif ); extern Bool XSyncValueIsPositive( -#if NeedFunctionPrototypes XSyncValue /*v*/ -#endif ); extern unsigned int XSyncValueLow32( -#if NeedFunctionPrototypes XSyncValue /*v*/ -#endif ); extern int XSyncValueHigh32( -#if NeedFunctionPrototypes XSyncValue /*v*/ -#endif ); extern void XSyncValueAdd( -#if NeedFunctionPrototypes XSyncValue* /*presult*/, XSyncValue /*a*/, XSyncValue /*b*/, int* /*poverflow*/ -#endif ); extern void XSyncValueSubtract( -#if NeedFunctionPrototypes XSyncValue* /*presult*/, XSyncValue /*a*/, XSyncValue /*b*/, int* /*poverflow*/ -#endif ); extern void XSyncMaxValue( -#if NeedFunctionPrototypes XSyncValue* /*pv*/ -#endif ); extern void XSyncMinValue( -#if NeedFunctionPrototypes XSyncValue* /*pv*/ -#endif ); _XFUNCPROTOEND @@ -404,126 +372,94 @@ typedef struct { _XFUNCPROTOBEGIN extern Status XSyncQueryExtension( -#if NeedFunctionPrototypes Display* /*dpy*/, int* /*event_base_return*/, int* /*error_base_return*/ -#endif ); extern Status XSyncInitialize( -#if NeedFunctionPrototypes Display* /*dpy*/, int* /*major_version_return*/, int* /*minor_version_return*/ -#endif ); extern XSyncSystemCounter *XSyncListSystemCounters( -#if NeedFunctionPrototypes Display* /*dpy*/, int* /*n_counters_return*/ -#endif ); extern void XSyncFreeSystemCounterList( -#if NeedFunctionPrototypes XSyncSystemCounter* /*list*/ -#endif ); extern XSyncCounter XSyncCreateCounter( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncValue /*initial_value*/ -#endif ); extern Status XSyncSetCounter( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncCounter /*counter*/, XSyncValue /*value*/ -#endif ); extern Status XSyncChangeCounter( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncCounter /*counter*/, XSyncValue /*value*/ -#endif ); extern Status XSyncDestroyCounter( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncCounter /*counter*/ -#endif ); extern Status XSyncQueryCounter( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncCounter /*counter*/, XSyncValue* /*value_return*/ -#endif ); extern Status XSyncAwait( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncWaitCondition* /*wait_list*/, int /*n_conditions*/ -#endif ); extern XSyncAlarm XSyncCreateAlarm( -#if NeedFunctionPrototypes Display* /*dpy*/, unsigned long /*values_mask*/, XSyncAlarmAttributes* /*values*/ -#endif ); extern Status XSyncDestroyAlarm( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncAlarm /*alarm*/ -#endif ); extern Status XSyncQueryAlarm( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncAlarm /*alarm*/, XSyncAlarmAttributes* /*values_return*/ -#endif ); extern Status XSyncChangeAlarm( -#if NeedFunctionPrototypes Display* /*dpy*/, XSyncAlarm /*alarm*/, unsigned long /*values_mask*/, XSyncAlarmAttributes* /*values*/ -#endif ); extern Status XSyncSetPriority( -#if NeedFunctionPrototypes Display* /*dpy*/, XID /*client_resource_id*/, int /*priority*/ -#endif ); extern Status XSyncGetPriority( -#if NeedFunctionPrototypes Display* /*dpy*/, XID /*client_resource_id*/, int* /*return_priority*/ -#endif ); #endif /* _SYNC_SERVER */ |