Sha256: 64201267ba5a76502e52078c418efa84296ca2f535d19d95459ae7a58f9a19c1

Contents?: true

Size: 387 Bytes

Versions: 6

Compression:

Stored size: 387 Bytes

Contents

#define TEST_NAME "sodium_version"
#include "cmptest.h"

int
main(void)
{
    printf("%d\n", sodium_version_string() != NULL);
    printf("%d\n", sodium_library_version_major() > 0);
    printf("%d\n", sodium_library_version_minor() >= 0);
#ifdef SODIUM_LIBRARY_MINIMAL
    assert(sodium_library_minimal() == 1);
#else
    assert(sodium_library_minimal() == 0);
#endif

    return 0;
}

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
laag-libsodium-1.0.16.2 vendor/github.com/jedisct1/libsodium/test/default/sodium_version.c
laag-libsodium-1.0.16.0 vendor/github.com/jedisct1/libsodium/test/default/sodium_version.c
rbnacl-libsodium-1.0.16 vendor/libsodium/test/default/sodium_version.c
rbnacl-libsodium-1.0.15.1 vendor/libsodium/test/default/sodium_version.c
rbnacl-libsodium-1.0.15 vendor/libsodium/test/default/sodium_version.c
rbnacl-libsodium-1.0.13 vendor/libsodium/test/default/sodium_version.c