Sha256: d6fc9dd44ccfbb573e110ce735cc5d11966f33006529a6d8b97297cce1c26590

Contents?: true

Size: 1.04 KB

Versions: 77

Compression:

Stored size: 1.04 KB

Contents

/*
 * Copyright (c) 2012, Wayne Meissner
 *
 * All rights reserved.
 *
 * This file is part of ruby-ffi.
 *
 * This code is free software: you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License version 3 only, as
 * published by the Free Software Foundation.
 *
 * This code is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
 * version 3 for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * version 3 along with this work.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef RBFFI_LONGDOUBLE_H
#define	RBFFI_LONGDOUBLE_H

#include <ruby.h>

#ifdef	__cplusplus
extern "C" {
#endif

#ifdef _MSC_VER
#define strtold strtod
#endif

extern VALUE rbffi_longdouble_new(long double ld);
extern long double rbffi_num2longdouble(VALUE value);

#ifdef	__cplusplus
}
#endif

#endif	/* RBFFI_LONGDOUBLE_H */

Version data entries

77 entries across 77 versions & 8 rubygems

Version Path
tnargav-1.3.3 vendor/bundle/ruby/1.9.1/gems/ffi-1.9.0/ext/ffi_c/LongDouble.h
vagrant-shell-0.2.9 demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.h
tnargav-1.2.3 vendor/bundle/ruby/1.9.1/gems/ffi-1.9.0/ext/ffi_c/LongDouble.h
vagrant-shell-0.2.8 demo/templates/vendor/bundle/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.h
ffi-1.9.0-x86-mingw32 ext/ffi_c/LongDouble.h
ffi-1.9.0 ext/ffi_c/LongDouble.h
vagrant-shell-0.2.6 vendor/bundle/gems/ffi-1.8.1/ext/ffi_c/LongDouble.h
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.h
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/ffi-1.8.1/ext/ffi_c/LongDouble.h
vagrant-shell-0.2.5 vendor/bundle/gems/ffi-1.8.1/ext/ffi_c/LongDouble.h
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/ffi-1.3.1/ext/ffi_c/LongDouble.h
ffi-1.8.1-x86-mingw32 ext/ffi_c/LongDouble.h
ffi-1.8.1 ext/ffi_c/LongDouble.h
ffi-1.7.0-x86-mingw32 ext/ffi_c/LongDouble.h
ffi-1.7.0 ext/ffi_c/LongDouble.h
ffi-1.7.0.dev ext/ffi_c/LongDouble.h
ffi-1.6.0-x86-mingw32 ext/ffi_c/LongDouble.h
ffi-1.6.0 ext/ffi_c/LongDouble.h
ffi-1.5.0-x86-mingw32 ext/ffi_c/LongDouble.h
ffi-1.5.0 ext/ffi_c/LongDouble.h