Sha256: 22e5d9a397ba6433a656cc3462fd605aa10acc976e89b89278e70e35adcf0fd3

Contents?: true

Size: 389 Bytes

Versions: 195

Compression:

Stored size: 389 Bytes

Contents

/*
 * Copyright (c) 2007 Wayne Meissner.
 * Copyright (c) 2009 Aman Gupta.
 *
 * All rights reserved.
 *
 * For licensing, see LICENSE.SPECS
 */

#include <stdbool.h>

bool
bool_return_true()
{
    return true;
}

bool
bool_return_false()
{
    return false;
}

bool
bool_return_val(bool value)
{
    return value;
}

bool
bool_reverse_val(bool value)
{
    return value ? false : true;
}

Version data entries

195 entries across 93 versions & 16 rubygems

Version Path
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c
vagrant-unbundled-2.2.7.0 vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/libtest/BoolTest.c
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/ffi-1.9.18/libtest/BoolTest.c
tdiary-5.0.8 vendor/bundle/gems/tdiary-5.0.7/vendor/bundle/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/gems/ffi-1.9.18/libtest/BoolTest.c
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.5.0/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/libtest/BoolTest.c
vagrant-unbundled-2.0.2.0 vendor/bundle/ruby/2.4.0/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c
ffi-1.9.21-x86-mingw32 spec/ffi/fixtures/BoolTest.c
ffi-1.9.21-x86-mingw32 libtest/BoolTest.c
ffi-1.9.21-x64-mingw32 libtest/BoolTest.c
ffi-1.9.21-x64-mingw32 spec/ffi/fixtures/BoolTest.c
ffi-1.9.21 libtest/BoolTest.c
ffi-1.9.21 spec/ffi/fixtures/BoolTest.c
tdiary-5.0.7 vendor/bundle/gems/ffi-1.9.18/libtest/BoolTest.c
tdiary-5.0.7 vendor/bundle/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c
comiditaULL-0.1.1 vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/BoolTest.c
comiditaULL-0.1.1 vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c
comidita_ull-0.1.1 vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/libtest/BoolTest.c
comidita_ull-0.1.1 vendor/bundle/ruby/2.3.0/gems/ffi-1.9.18/spec/ffi/fixtures/BoolTest.c