xshmfence.h | xshmfence.h | |||
---|---|---|---|---|
skipping to change at line 26 | skipping to change at line 26 | |||
* EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR | * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR | |||
* CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF U SE, | * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF U SE, | |||
* DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER | |||
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORM ANCE | * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORM ANCE | |||
* OF THIS SOFTWARE. | * OF THIS SOFTWARE. | |||
*/ | */ | |||
#ifndef _XSHMFENCE_H_ | #ifndef _XSHMFENCE_H_ | |||
#define _XSHMFENCE_H_ | #define _XSHMFENCE_H_ | |||
#include <stdint.h> | #include <X11/Xfuncproto.h> | |||
int | #define HAVE_STRUCT_XSHMFENCE 1 | |||
xshmfence_trigger(int32_t *f); | ||||
int | struct xshmfence; | |||
xshmfence_await(int32_t *f); | ||||
int | _X_EXPORT int | |||
xshmfence_query(int32_t *f); | xshmfence_trigger(struct xshmfence *f); | |||
void | _X_EXPORT int | |||
xshmfence_reset(int32_t *f); | xshmfence_await(struct xshmfence *f); | |||
int | _X_EXPORT int | |||
xshmfence_query(struct xshmfence *f); | ||||
_X_EXPORT void | ||||
xshmfence_reset(struct xshmfence *f); | ||||
_X_EXPORT int | ||||
xshmfence_alloc_shm(void); | xshmfence_alloc_shm(void); | |||
int32_t * | _X_EXPORT struct xshmfence * | |||
xshmfence_map_shm(int fd); | xshmfence_map_shm(int fd); | |||
void | _X_EXPORT void | |||
xshmfence_unmap_shm(int32_t *f); | xshmfence_unmap_shm(struct xshmfence *f); | |||
#endif /* _XSHMFENCE_H_ */ | #endif /* _XSHMFENCE_H_ */ | |||
End of changes. 8 change blocks. | ||||
13 lines changed or deleted | 17 lines changed or added | |||