Sha256: 35e2380e7f708a46a71ec90fecf98dc7b0fd18246d659156b306594d28871c4f

Contents?: true

Size: 349 Bytes

Versions: 39

Compression:

Stored size: 349 Bytes

Contents

/*
 * Copyright (c) 2007 Wayne Meissner. 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

39 entries across 36 versions & 7 rubygems

Version Path
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/ffi-1.9.0/libtest/BoolTest.c
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/BoolTest.c
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/ffi-1.9.0/libtest/BoolTest.c
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/libtest/BoolTest.c
ffi-1.9.0-x86-mingw32 libtest/BoolTest.c
ffi-1.9.0 libtest/BoolTest.c
vagrant-shell-0.2.6 vendor/bundle/gems/ffi-1.8.1/libtest/BoolTest.c
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/BoolTest.c
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/ffi-1.8.1/libtest/BoolTest.c
vagrant-shell-0.2.5 vendor/bundle/gems/ffi-1.8.1/libtest/BoolTest.c
yakg-0.0.8 vendor/gems/ruby/1.9.1/gems/ffi-1.8.1/libtest/BoolTest.c
yakg-0.0.8 vendor/gems/ruby/2.0.0/gems/ffi-1.8.1/libtest/BoolTest.c
yakg-0.0.8 vendor/gems/ruby/1.8/gems/ffi-1.8.1/libtest/BoolTest.c
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/ffi-1.3.1/libtest/BoolTest.c
yakg-0.0.6 vendor/gems/ruby/1.9.1/gems/ffi-1.8.1/libtest/BoolTest.c
yakg-0.0.6 vendor/gems/ruby/1.8/gems/ffi-1.8.1/libtest/BoolTest.c
yakg-0.0.4 vendor/gems/ruby/1.8/gems/ffi-1.8.1/libtest/BoolTest.c
yakg-0.0.3 vendor/gems/ruby/1.8/gems/ffi-1.8.1/libtest/BoolTest.c
ffi-1.8.1-x86-mingw32 libtest/BoolTest.c
ffi-1.8.1 libtest/BoolTest.c