Sha256: 9ea4458603e31acc2b2d5fe8580648ae00b8c9c8e37ce2193af204587944a620

Contents?: true

Size: 578 Bytes

Versions: 18

Compression:

Stored size: 578 Bytes

Contents

/* SPDX-License-Identifier: MIT */
/*
 * Description: check version macros and runtime checks work
 *
 */
#include "liburing.h"
#include "helpers.h"

int main(int argc, char *argv[])
{
	if (!IO_URING_CHECK_VERSION(io_uring_major_version(), io_uring_minor_version()))
		return T_EXIT_FAIL;

	if (io_uring_major_version() != IO_URING_VERSION_MAJOR)
		return T_EXIT_FAIL;

	if (io_uring_minor_version() != IO_URING_VERSION_MINOR)
		return T_EXIT_FAIL;

#if !IO_URING_CHECK_VERSION(IO_URING_VERSION_MAJOR, IO_URING_VERSION_MINOR)
	return T_EXIT_FAIL;
#endif

	return T_EXIT_PASS;
}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
polyphony-1.6 vendor/liburing/test/version.c
polyphony-1.5 vendor/liburing/test/version.c
polyphony-1.4 vendor/liburing/test/version.c
polyphony-1.3 vendor/liburing/test/version.c
polyphony-1.2.1 vendor/liburing/test/version.c
polyphony-1.2 vendor/liburing/test/version.c
polyphony-1.1.1 vendor/liburing/test/version.c
polyphony-1.1 vendor/liburing/test/version.c
polyphony-1.0.2 vendor/liburing/test/version.c
polyphony-1.0.1 vendor/liburing/test/version.c
polyphony-1.0 vendor/liburing/test/version.c
polyphony-0.99.6 vendor/liburing/test/version.c
polyphony-0.99.5 vendor/liburing/test/version.c
polyphony-0.99.4 vendor/liburing/test/version.c
polyphony-0.99.3 vendor/liburing/test/version.c
polyphony-0.99.2 vendor/liburing/test/version.c
polyphony-0.99.1 vendor/liburing/test/version.c
polyphony-0.99 vendor/liburing/test/version.c