rice 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/COPYING +1 -1
- data/Makefile.in +3 -1
- data/README +1 -1
- data/configure +243 -0
- data/configure.ac +3 -0
- data/rice/Data_Type.ipp +1 -1
- data/rice/Data_Type_defn.hpp +1 -1
- data/rice/Enum.ipp +1 -1
- data/rice/Makefile.in +3 -1
- data/rice/config.hpp +3 -0
- data/rice/config.hpp.in +3 -0
- data/rice/detail/ruby.hpp +6 -0
- data/rice/detail/ruby_version_code.hpp +1 -1
- data/ruby.ac +4 -0
- data/ruby/Makefile.in +3 -1
- data/ruby/lib/Makefile.in +3 -1
- data/ruby/lib/mkmf-rice.rb.in +1 -1
- data/ruby/lib/version.rb +1 -1
- data/sample/Makefile.in +3 -1
- data/test/Makefile.in +3 -1
- data/test/ext/Makefile.in +3 -1
- data/test/test_VM.cpp +1 -1
- metadata +58 -57
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 495da5bbce7f22d75691292a27ce312da7a284dd
|
4
|
+
data.tar.gz: ef6cf052be2dd634bf9ac0108e0a836643a35ec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b9646f9d06b709e3d3112522752f2a93e9fd95fa585d5a83848fa1cd886954eda4d20f0ac83915fbffe6b57907883f0208c2aa6d29767a4a8d0ff5a1827e608
|
7
|
+
data.tar.gz: 4b1d664803ce2ec9d41f34f55fafdcc55ba9722ca35fd200c3029a5f70f33e963fd6f421558edc5c7b4c3a023733506d5fba4305a6bfb7946818415f7dd261ba
|
data/COPYING
CHANGED
data/Makefile.in
CHANGED
@@ -114,7 +114,8 @@ DIST_COMMON = $(srcdir)/doxygen.am $(srcdir)/Makefile.in \
|
|
114
114
|
README TODO config.guess config.sub depcomp install-sh missing
|
115
115
|
subdir = .
|
116
116
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
117
|
-
am__aclocal_m4_deps = $(top_srcdir)/
|
117
|
+
am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
|
118
|
+
$(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
118
119
|
$(top_srcdir)/configure.ac
|
119
120
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
120
121
|
$(ACLOCAL_M4)
|
@@ -264,6 +265,7 @@ ECHO_C = @ECHO_C@
|
|
264
265
|
ECHO_N = @ECHO_N@
|
265
266
|
ECHO_T = @ECHO_T@
|
266
267
|
EXEEXT = @EXEEXT@
|
268
|
+
HAVE_CXX11 = @HAVE_CXX11@
|
267
269
|
INSTALL = @INSTALL@
|
268
270
|
INSTALL_DATA = @INSTALL_DATA@
|
269
271
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
data/README
CHANGED
@@ -1092,7 +1092,7 @@ If the VM is not initialized from main() -- from a callback, for example
|
|
1092
1092
|
the Ruby API:
|
1093
1093
|
|
1094
1094
|
\code
|
1095
|
-
std::
|
1095
|
+
std::unique_ptr<Rice::VM> vm;
|
1096
1096
|
Rice::Object obj;
|
1097
1097
|
|
1098
1098
|
void some_application_extension_init()
|
data/configure
CHANGED
@@ -645,6 +645,7 @@ RUBY_CPPFLAGS
|
|
645
645
|
RUBY_VERSION_CODE
|
646
646
|
RUBY
|
647
647
|
RICE_USING_MINGW32
|
648
|
+
HAVE_CXX11
|
648
649
|
host_os
|
649
650
|
host_vendor
|
650
651
|
host_cpu
|
@@ -3418,6 +3419,243 @@ else
|
|
3418
3419
|
RICE_USING_MINGW32="false"
|
3419
3420
|
fi
|
3420
3421
|
|
3422
|
+
# ============================================================================
|
3423
|
+
# http://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx_11.html
|
3424
|
+
# ============================================================================
|
3425
|
+
#
|
3426
|
+
# SYNOPSIS
|
3427
|
+
#
|
3428
|
+
# AX_CXX_COMPILE_STDCXX_11([ext|noext],[mandatory|optional])
|
3429
|
+
#
|
3430
|
+
# DESCRIPTION
|
3431
|
+
#
|
3432
|
+
# Check for baseline language coverage in the compiler for the C++11
|
3433
|
+
# standard; if necessary, add switches to CXXFLAGS to enable support.
|
3434
|
+
#
|
3435
|
+
# The first argument, if specified, indicates whether you insist on an
|
3436
|
+
# extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g.
|
3437
|
+
# -std=c++11). If neither is specified, you get whatever works, with
|
3438
|
+
# preference for an extended mode.
|
3439
|
+
#
|
3440
|
+
# The second argument, if specified 'mandatory' or if left unspecified,
|
3441
|
+
# indicates that baseline C++11 support is required and that the macro
|
3442
|
+
# should error out if no mode with that support is found. If specified
|
3443
|
+
# 'optional', then configuration proceeds regardless, after defining
|
3444
|
+
# HAVE_CXX11 if and only if a supporting mode is found.
|
3445
|
+
#
|
3446
|
+
# LICENSE
|
3447
|
+
#
|
3448
|
+
# Copyright (c) 2008 Benjamin Kosnik <bkoz@redhat.com>
|
3449
|
+
# Copyright (c) 2012 Zack Weinberg <zackw@panix.com>
|
3450
|
+
# Copyright (c) 2013 Roy Stogner <roystgnr@ices.utexas.edu>
|
3451
|
+
# Copyright (c) 2014 Alexey Sokolov <sokolov@google.com>
|
3452
|
+
#
|
3453
|
+
# Copying and distribution of this file, with or without modification, are
|
3454
|
+
# permitted in any medium without royalty provided the copyright notice
|
3455
|
+
# and this notice are preserved. This file is offered as-is, without any
|
3456
|
+
# warranty.
|
3457
|
+
|
3458
|
+
#serial 4
|
3459
|
+
|
3460
|
+
|
3461
|
+
|
3462
|
+
|
3463
|
+
|
3464
|
+
|
3465
|
+
ax_cxx_compile_cxx11_required=false
|
3466
|
+
ac_ext=cpp
|
3467
|
+
ac_cpp='$CXXCPP $CPPFLAGS'
|
3468
|
+
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3469
|
+
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3470
|
+
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
3471
|
+
ac_success=no
|
3472
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features by default" >&5
|
3473
|
+
$as_echo_n "checking whether $CXX supports C++11 features by default... " >&6; }
|
3474
|
+
if ${ax_cv_cxx_compile_cxx11+:} false; then :
|
3475
|
+
$as_echo_n "(cached) " >&6
|
3476
|
+
else
|
3477
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3478
|
+
/* end confdefs.h. */
|
3479
|
+
|
3480
|
+
template <typename T>
|
3481
|
+
struct check
|
3482
|
+
{
|
3483
|
+
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
3484
|
+
};
|
3485
|
+
|
3486
|
+
struct Base {
|
3487
|
+
virtual void f() {}
|
3488
|
+
};
|
3489
|
+
struct Child : public Base {
|
3490
|
+
virtual void f() override {}
|
3491
|
+
};
|
3492
|
+
|
3493
|
+
typedef check<check<bool>> right_angle_brackets;
|
3494
|
+
|
3495
|
+
int a;
|
3496
|
+
decltype(a) b;
|
3497
|
+
|
3498
|
+
typedef check<int> check_type;
|
3499
|
+
check_type c;
|
3500
|
+
check_type&& cr = static_cast<check_type&&>(c);
|
3501
|
+
|
3502
|
+
auto d = a;
|
3503
|
+
auto l = [](){};
|
3504
|
+
|
3505
|
+
_ACEOF
|
3506
|
+
if ac_fn_cxx_try_compile "$LINENO"; then :
|
3507
|
+
ax_cv_cxx_compile_cxx11=yes
|
3508
|
+
else
|
3509
|
+
ax_cv_cxx_compile_cxx11=no
|
3510
|
+
fi
|
3511
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3512
|
+
fi
|
3513
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_cxx_compile_cxx11" >&5
|
3514
|
+
$as_echo "$ax_cv_cxx_compile_cxx11" >&6; }
|
3515
|
+
if test x$ax_cv_cxx_compile_cxx11 = xyes; then
|
3516
|
+
ac_success=yes
|
3517
|
+
fi
|
3518
|
+
|
3519
|
+
if test x$ac_success = xno; then
|
3520
|
+
for switch in -std=gnu++11 -std=gnu++0x; do
|
3521
|
+
cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
|
3522
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
|
3523
|
+
$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
|
3524
|
+
if eval \${$cachevar+:} false; then :
|
3525
|
+
$as_echo_n "(cached) " >&6
|
3526
|
+
else
|
3527
|
+
ac_save_CXXFLAGS="$CXXFLAGS"
|
3528
|
+
CXXFLAGS="$CXXFLAGS $switch"
|
3529
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3530
|
+
/* end confdefs.h. */
|
3531
|
+
|
3532
|
+
template <typename T>
|
3533
|
+
struct check
|
3534
|
+
{
|
3535
|
+
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
3536
|
+
};
|
3537
|
+
|
3538
|
+
struct Base {
|
3539
|
+
virtual void f() {}
|
3540
|
+
};
|
3541
|
+
struct Child : public Base {
|
3542
|
+
virtual void f() override {}
|
3543
|
+
};
|
3544
|
+
|
3545
|
+
typedef check<check<bool>> right_angle_brackets;
|
3546
|
+
|
3547
|
+
int a;
|
3548
|
+
decltype(a) b;
|
3549
|
+
|
3550
|
+
typedef check<int> check_type;
|
3551
|
+
check_type c;
|
3552
|
+
check_type&& cr = static_cast<check_type&&>(c);
|
3553
|
+
|
3554
|
+
auto d = a;
|
3555
|
+
auto l = [](){};
|
3556
|
+
|
3557
|
+
_ACEOF
|
3558
|
+
if ac_fn_cxx_try_compile "$LINENO"; then :
|
3559
|
+
eval $cachevar=yes
|
3560
|
+
else
|
3561
|
+
eval $cachevar=no
|
3562
|
+
fi
|
3563
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3564
|
+
CXXFLAGS="$ac_save_CXXFLAGS"
|
3565
|
+
fi
|
3566
|
+
eval ac_res=\$$cachevar
|
3567
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
3568
|
+
$as_echo "$ac_res" >&6; }
|
3569
|
+
if eval test x\$$cachevar = xyes; then
|
3570
|
+
CXXFLAGS="$CXXFLAGS $switch"
|
3571
|
+
ac_success=yes
|
3572
|
+
break
|
3573
|
+
fi
|
3574
|
+
done
|
3575
|
+
fi
|
3576
|
+
|
3577
|
+
if test x$ac_success = xno; then
|
3578
|
+
for switch in -std=c++11 -std=c++0x; do
|
3579
|
+
cachevar=`$as_echo "ax_cv_cxx_compile_cxx11_$switch" | $as_tr_sh`
|
3580
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports C++11 features with $switch" >&5
|
3581
|
+
$as_echo_n "checking whether $CXX supports C++11 features with $switch... " >&6; }
|
3582
|
+
if eval \${$cachevar+:} false; then :
|
3583
|
+
$as_echo_n "(cached) " >&6
|
3584
|
+
else
|
3585
|
+
ac_save_CXXFLAGS="$CXXFLAGS"
|
3586
|
+
CXXFLAGS="$CXXFLAGS $switch"
|
3587
|
+
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
3588
|
+
/* end confdefs.h. */
|
3589
|
+
|
3590
|
+
template <typename T>
|
3591
|
+
struct check
|
3592
|
+
{
|
3593
|
+
static_assert(sizeof(int) <= sizeof(T), "not big enough");
|
3594
|
+
};
|
3595
|
+
|
3596
|
+
struct Base {
|
3597
|
+
virtual void f() {}
|
3598
|
+
};
|
3599
|
+
struct Child : public Base {
|
3600
|
+
virtual void f() override {}
|
3601
|
+
};
|
3602
|
+
|
3603
|
+
typedef check<check<bool>> right_angle_brackets;
|
3604
|
+
|
3605
|
+
int a;
|
3606
|
+
decltype(a) b;
|
3607
|
+
|
3608
|
+
typedef check<int> check_type;
|
3609
|
+
check_type c;
|
3610
|
+
check_type&& cr = static_cast<check_type&&>(c);
|
3611
|
+
|
3612
|
+
auto d = a;
|
3613
|
+
auto l = [](){};
|
3614
|
+
|
3615
|
+
_ACEOF
|
3616
|
+
if ac_fn_cxx_try_compile "$LINENO"; then :
|
3617
|
+
eval $cachevar=yes
|
3618
|
+
else
|
3619
|
+
eval $cachevar=no
|
3620
|
+
fi
|
3621
|
+
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
3622
|
+
CXXFLAGS="$ac_save_CXXFLAGS"
|
3623
|
+
fi
|
3624
|
+
eval ac_res=\$$cachevar
|
3625
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
3626
|
+
$as_echo "$ac_res" >&6; }
|
3627
|
+
if eval test x\$$cachevar = xyes; then
|
3628
|
+
CXXFLAGS="$CXXFLAGS $switch"
|
3629
|
+
ac_success=yes
|
3630
|
+
break
|
3631
|
+
fi
|
3632
|
+
done
|
3633
|
+
fi
|
3634
|
+
ac_ext=cpp
|
3635
|
+
ac_cpp='$CXXCPP $CPPFLAGS'
|
3636
|
+
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
3637
|
+
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
|
3638
|
+
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
|
3639
|
+
|
3640
|
+
if test x$ax_cxx_compile_cxx11_required = xtrue; then
|
3641
|
+
if test x$ac_success = xno; then
|
3642
|
+
as_fn_error $? "*** A compiler with support for C++11 language features is required." "$LINENO" 5
|
3643
|
+
fi
|
3644
|
+
else
|
3645
|
+
if test x$ac_success = xno; then
|
3646
|
+
HAVE_CXX11=0
|
3647
|
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: No compiler with C++11 support was found" >&5
|
3648
|
+
$as_echo "$as_me: No compiler with C++11 support was found" >&6;}
|
3649
|
+
else
|
3650
|
+
HAVE_CXX11=1
|
3651
|
+
|
3652
|
+
$as_echo "#define HAVE_CXX11 1" >>confdefs.h
|
3653
|
+
|
3654
|
+
fi
|
3655
|
+
|
3656
|
+
|
3657
|
+
fi
|
3658
|
+
|
3421
3659
|
|
3422
3660
|
|
3423
3661
|
|
@@ -3462,6 +3700,8 @@ RUBY_CONFIG_BINDIR=`
|
|
3462
3700
|
$RUBY -rrbconfig -e "puts(RbConfig::CONFIG['bindir'] || '')"`
|
3463
3701
|
RUBY_CONFIG_RUBYHDRDIR=`
|
3464
3702
|
$RUBY -rrbconfig -e "puts(RbConfig::CONFIG['rubyhdrdir'] || '')"`
|
3703
|
+
RUBY_CONFIG_RUBYARCHHDRDIR=`
|
3704
|
+
$RUBY -rrbconfig -e "puts(RbConfig::CONFIG['rubyarchhdrdir'] || '')"`
|
3465
3705
|
RUBY_CONFIG_CFLAGS=`
|
3466
3706
|
$RUBY -rrbconfig -e "puts(RbConfig::CONFIG['CFLAGS'] || '')"`
|
3467
3707
|
RUBY_CONFIG_LIBS=`
|
@@ -3485,6 +3725,9 @@ else
|
|
3485
3725
|
# 1.8
|
3486
3726
|
RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
|
3487
3727
|
fi
|
3728
|
+
if test "x${RUBY_CONFIG_RUBYARCHHDRDIR}x" != "xx"; then
|
3729
|
+
RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYARCHHDRDIR}"
|
3730
|
+
fi
|
3488
3731
|
|
3489
3732
|
|
3490
3733
|
RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
|
data/configure.ac
CHANGED
data/rice/Data_Type.ipp
CHANGED
@@ -17,7 +17,7 @@ template<typename T>
|
|
17
17
|
VALUE Rice::Data_Type<T>::klass_ = Qnil;
|
18
18
|
|
19
19
|
template<typename T>
|
20
|
-
|
20
|
+
std_unique_ptr<Rice::detail::Abstract_Caster> Rice::Data_Type<T>::caster_;
|
21
21
|
|
22
22
|
template<typename T>
|
23
23
|
template<typename Base_T>
|
data/rice/Data_Type_defn.hpp
CHANGED
data/rice/Enum.ipp
CHANGED
@@ -99,7 +99,7 @@ define_value(
|
|
99
99
|
char const * name,
|
100
100
|
Enum_T value)
|
101
101
|
{
|
102
|
-
|
102
|
+
std_unique_ptr<Enum_T> copy(new Enum_T(value));
|
103
103
|
Rice::Data_Object<Enum_T> m(copy.get(), *this);
|
104
104
|
copy.release();
|
105
105
|
names_[m] = String(name);
|
data/rice/Makefile.in
CHANGED
@@ -84,7 +84,8 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
|
84
84
|
$(srcdir)/config.hpp.in $(top_srcdir)/depcomp \
|
85
85
|
$(nobase_include_HEADERS)
|
86
86
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
87
|
-
am__aclocal_m4_deps = $(top_srcdir)/
|
87
|
+
am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
|
88
|
+
$(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
88
89
|
$(top_srcdir)/configure.ac
|
89
90
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
90
91
|
$(ACLOCAL_M4)
|
@@ -238,6 +239,7 @@ ECHO_C = @ECHO_C@
|
|
238
239
|
ECHO_N = @ECHO_N@
|
239
240
|
ECHO_T = @ECHO_T@
|
240
241
|
EXEEXT = @EXEEXT@
|
242
|
+
HAVE_CXX11 = @HAVE_CXX11@
|
241
243
|
INSTALL = @INSTALL@
|
242
244
|
INSTALL_DATA = @INSTALL_DATA@
|
243
245
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
data/rice/config.hpp
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
/* rice/config.hpp. Generated from config.hpp.in by configure. */
|
2
2
|
/* rice/config.hpp.in. Generated from configure.ac by autoheader. */
|
3
3
|
|
4
|
+
/* define if the compiler supports basic C++11 syntax */
|
5
|
+
#define HAVE_CXX11 1
|
6
|
+
|
4
7
|
/* Define to 1 if you have the <env.h> header file. */
|
5
8
|
/* #undef HAVE_ENV_H */
|
6
9
|
|
data/rice/config.hpp.in
CHANGED
data/rice/detail/ruby.hpp
CHANGED
@@ -80,5 +80,11 @@ namespace Rice
|
|
80
80
|
#define rb_set_errinfo(exc) ::Rice::detail::rb_set_errinfo(exc)
|
81
81
|
#endif
|
82
82
|
|
83
|
+
#ifdef HAVE_CXX11
|
84
|
+
#define std_unique_ptr std::unique_ptr
|
85
|
+
#else
|
86
|
+
#define std_unique_ptr std::auto_ptr
|
87
|
+
#endif
|
88
|
+
|
83
89
|
#endif // Rice__detail__ruby__hpp_
|
84
90
|
|
data/ruby.ac
CHANGED
@@ -30,6 +30,7 @@ RUBY_CONFIG_ARCH=`RUBY_CONFIG(arch)`
|
|
30
30
|
RUBY_CONFIG_LIBDIR=`RUBY_CONFIG(libdir)`
|
31
31
|
RUBY_CONFIG_BINDIR=`RUBY_CONFIG(bindir)`
|
32
32
|
RUBY_CONFIG_RUBYHDRDIR=`RUBY_CONFIG(rubyhdrdir)`
|
33
|
+
RUBY_CONFIG_RUBYARCHHDRDIR=`RUBY_CONFIG(rubyarchhdrdir)`
|
33
34
|
RUBY_CONFIG_CFLAGS=`RUBY_CONFIG(CFLAGS)`
|
34
35
|
RUBY_CONFIG_LIBS=`RUBY_CONFIG(LIBS)`
|
35
36
|
RUBY_CONFIG_DLDLIBS=`RUBY_CONFIG(DLDLIBS)`
|
@@ -46,6 +47,9 @@ else
|
|
46
47
|
# 1.8
|
47
48
|
RUBY_CPPFLAGS="-I${RUBY_CONFIG_ARCHDIR}"
|
48
49
|
fi
|
50
|
+
if test "x${RUBY_CONFIG_RUBYARCHHDRDIR}x" != "xx"; then
|
51
|
+
RUBY_CPPFLAGS="${RUBY_CPPFLAGS} -I${RUBY_CONFIG_RUBYARCHHDRDIR}"
|
52
|
+
fi
|
49
53
|
AC_SUBST(RUBY_CPPFLAGS)
|
50
54
|
|
51
55
|
RUBY_CFLAGS="${RUBY_CONFIG_CFLAGS} ${RUBY_CONFIG_CCDLFLAGS}"
|
data/ruby/Makefile.in
CHANGED
@@ -80,7 +80,8 @@ host_triplet = @host@
|
|
80
80
|
subdir = ruby
|
81
81
|
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
|
82
82
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
83
|
-
am__aclocal_m4_deps = $(top_srcdir)/
|
83
|
+
am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
|
84
|
+
$(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
84
85
|
$(top_srcdir)/configure.ac
|
85
86
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
86
87
|
$(ACLOCAL_M4)
|
@@ -211,6 +212,7 @@ ECHO_C = @ECHO_C@
|
|
211
212
|
ECHO_N = @ECHO_N@
|
212
213
|
ECHO_T = @ECHO_T@
|
213
214
|
EXEEXT = @EXEEXT@
|
215
|
+
HAVE_CXX11 = @HAVE_CXX11@
|
214
216
|
INSTALL = @INSTALL@
|
215
217
|
INSTALL_DATA = @INSTALL_DATA@
|
216
218
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
data/ruby/lib/Makefile.in
CHANGED
@@ -82,7 +82,8 @@ subdir = ruby/lib
|
|
82
82
|
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
83
83
|
$(srcdir)/mkmf-rice.rb.in
|
84
84
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
85
|
-
am__aclocal_m4_deps = $(top_srcdir)/
|
85
|
+
am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
|
86
|
+
$(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
86
87
|
$(top_srcdir)/configure.ac
|
87
88
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
88
89
|
$(ACLOCAL_M4)
|
@@ -182,6 +183,7 @@ ECHO_C = @ECHO_C@
|
|
182
183
|
ECHO_N = @ECHO_N@
|
183
184
|
ECHO_T = @ECHO_T@
|
184
185
|
EXEEXT = @EXEEXT@
|
186
|
+
HAVE_CXX11 = @HAVE_CXX11@
|
185
187
|
INSTALL = @INSTALL@
|
186
188
|
INSTALL_DATA = @INSTALL_DATA@
|
187
189
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
data/ruby/lib/mkmf-rice.rb.in
CHANGED
@@ -133,7 +133,7 @@ class Object
|
|
133
133
|
alias_method :link_command_orig, :link_command
|
134
134
|
def link_command(ldflags, opt='', libpath=$DEFLIBPATH|$LIBPATH)
|
135
135
|
link_command = link_command_orig(ldflags, opt, libpath)
|
136
|
-
return
|
136
|
+
return RbConfig::expand(
|
137
137
|
link_command,
|
138
138
|
'CXXFLAGS' => "#{$CXXFLAGS}")
|
139
139
|
end
|
data/ruby/lib/version.rb
CHANGED
data/sample/Makefile.in
CHANGED
@@ -80,7 +80,8 @@ host_triplet = @host@
|
|
80
80
|
subdir = sample
|
81
81
|
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
|
82
82
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
83
|
-
am__aclocal_m4_deps = $(top_srcdir)/
|
83
|
+
am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
|
84
|
+
$(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
84
85
|
$(top_srcdir)/configure.ac
|
85
86
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
86
87
|
$(ACLOCAL_M4)
|
@@ -151,6 +152,7 @@ ECHO_C = @ECHO_C@
|
|
151
152
|
ECHO_N = @ECHO_N@
|
152
153
|
ECHO_T = @ECHO_T@
|
153
154
|
EXEEXT = @EXEEXT@
|
155
|
+
HAVE_CXX11 = @HAVE_CXX11@
|
154
156
|
INSTALL = @INSTALL@
|
155
157
|
INSTALL_DATA = @INSTALL_DATA@
|
156
158
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
data/test/Makefile.in
CHANGED
@@ -84,7 +84,8 @@ subdir = test
|
|
84
84
|
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
|
85
85
|
$(top_srcdir)/depcomp $(top_srcdir)/test-driver
|
86
86
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
87
|
-
am__aclocal_m4_deps = $(top_srcdir)/
|
87
|
+
am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
|
88
|
+
$(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
88
89
|
$(top_srcdir)/configure.ac
|
89
90
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
90
91
|
$(ACLOCAL_M4)
|
@@ -453,6 +454,7 @@ ECHO_C = @ECHO_C@
|
|
453
454
|
ECHO_N = @ECHO_N@
|
454
455
|
ECHO_T = @ECHO_T@
|
455
456
|
EXEEXT = @EXEEXT@
|
457
|
+
HAVE_CXX11 = @HAVE_CXX11@
|
456
458
|
INSTALL = @INSTALL@
|
457
459
|
INSTALL_DATA = @INSTALL_DATA@
|
458
460
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
data/test/ext/Makefile.in
CHANGED
@@ -80,7 +80,8 @@ host_triplet = @host@
|
|
80
80
|
subdir = test/ext
|
81
81
|
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am
|
82
82
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
83
|
-
am__aclocal_m4_deps = $(top_srcdir)/
|
83
|
+
am__aclocal_m4_deps = $(top_srcdir)/check_stdcxx_11.ac \
|
84
|
+
$(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
84
85
|
$(top_srcdir)/configure.ac
|
85
86
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
86
87
|
$(ACLOCAL_M4)
|
@@ -151,6 +152,7 @@ ECHO_C = @ECHO_C@
|
|
151
152
|
ECHO_N = @ECHO_N@
|
152
153
|
ECHO_T = @ECHO_T@
|
153
154
|
EXEEXT = @EXEEXT@
|
155
|
+
HAVE_CXX11 = @HAVE_CXX11@
|
154
156
|
INSTALL = @INSTALL@
|
155
157
|
INSTALL_DATA = @INSTALL_DATA@
|
156
158
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
data/test/test_VM.cpp
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Paul Brannan
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-05-05 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: |
|
15
15
|
Rice is a C++ interface to Ruby's C API. It provides a type-safe and
|
@@ -27,37 +27,26 @@ extra_rdoc_files:
|
|
27
27
|
- README
|
28
28
|
files:
|
29
29
|
- COPYING
|
30
|
+
- Doxyfile
|
31
|
+
- Makefile.am
|
32
|
+
- Makefile.in
|
30
33
|
- README
|
31
34
|
- README.mingw
|
32
|
-
-
|
33
|
-
-
|
34
|
-
- doxygen.am
|
35
|
-
- extconf.rb
|
35
|
+
- Rakefile
|
36
|
+
- aclocal.m4
|
36
37
|
- bootstrap
|
37
|
-
- configure.ac
|
38
|
-
- configure
|
39
38
|
- config.guess
|
40
39
|
- config.sub
|
40
|
+
- configure
|
41
|
+
- configure.ac
|
41
42
|
- depcomp
|
43
|
+
- doxygen.ac
|
44
|
+
- doxygen.am
|
45
|
+
- extconf.rb
|
42
46
|
- install-sh
|
43
47
|
- missing
|
44
48
|
- post-autoconf.rb
|
45
49
|
- post-automake.rb
|
46
|
-
- ruby.ac
|
47
|
-
- aclocal.m4
|
48
|
-
- Rakefile
|
49
|
-
- Makefile.am
|
50
|
-
- Makefile.in
|
51
|
-
- rice/Makefile.am
|
52
|
-
- rice/Makefile.in
|
53
|
-
- ruby/Makefile.am
|
54
|
-
- ruby/Makefile.in
|
55
|
-
- ruby/lib/Makefile.am
|
56
|
-
- ruby/lib/Makefile.in
|
57
|
-
- sample/Makefile.am
|
58
|
-
- sample/Makefile.in
|
59
|
-
- test/Makefile.am
|
60
|
-
- test/Makefile.in
|
61
50
|
- rice/Address_Registration_Guard.cpp
|
62
51
|
- rice/Address_Registration_Guard.hpp
|
63
52
|
- rice/Address_Registration_Guard.ipp
|
@@ -75,7 +64,6 @@ files:
|
|
75
64
|
- rice/Class.hpp
|
76
65
|
- rice/Class.ipp
|
77
66
|
- rice/Class_defn.hpp
|
78
|
-
- rice/config.hpp
|
79
67
|
- rice/Constructor.hpp
|
80
68
|
- rice/Critical_Guard.hpp
|
81
69
|
- rice/Critical_Guard.ipp
|
@@ -97,14 +85,14 @@ files:
|
|
97
85
|
- rice/Exception_Base.ipp
|
98
86
|
- rice/Exception_Base_defn.hpp
|
99
87
|
- rice/Exception_defn.hpp
|
100
|
-
- rice/global_function.hpp
|
101
|
-
- rice/global_function.ipp
|
102
88
|
- rice/Hash.hpp
|
103
89
|
- rice/Hash.ipp
|
104
90
|
- rice/Identifier.cpp
|
105
91
|
- rice/Identifier.hpp
|
106
92
|
- rice/Identifier.ipp
|
107
93
|
- rice/Jump_Tag.hpp
|
94
|
+
- rice/Makefile.am
|
95
|
+
- rice/Makefile.in
|
108
96
|
- rice/Module.cpp
|
109
97
|
- rice/Module.hpp
|
110
98
|
- rice/Module.ipp
|
@@ -115,11 +103,7 @@ files:
|
|
115
103
|
- rice/Object.hpp
|
116
104
|
- rice/Object.ipp
|
117
105
|
- rice/Object_defn.hpp
|
118
|
-
- rice/protect.hpp
|
119
|
-
- rice/protect.ipp
|
120
106
|
- rice/Require_Guard.hpp
|
121
|
-
- rice/ruby_mark.hpp
|
122
|
-
- rice/ruby_try_catch.hpp
|
123
107
|
- rice/String.cpp
|
124
108
|
- rice/String.hpp
|
125
109
|
- rice/Struct.cpp
|
@@ -128,12 +112,9 @@ files:
|
|
128
112
|
- rice/Symbol.cpp
|
129
113
|
- rice/Symbol.hpp
|
130
114
|
- rice/Symbol.ipp
|
131
|
-
- rice/to_from_ruby.hpp
|
132
|
-
- rice/to_from_ruby.ipp
|
133
|
-
- rice/to_from_ruby_defn.hpp
|
134
115
|
- rice/VM.cpp
|
135
116
|
- rice/VM.hpp
|
136
|
-
- rice/
|
117
|
+
- rice/config.hpp
|
137
118
|
- rice/config.hpp.in
|
138
119
|
- rice/detail/Arguments.hpp
|
139
120
|
- rice/detail/Auto_Function_Wrapper.hpp
|
@@ -141,6 +122,12 @@ files:
|
|
141
122
|
- rice/detail/Auto_Member_Function_Wrapper.hpp
|
142
123
|
- rice/detail/Auto_Member_Function_Wrapper.ipp
|
143
124
|
- rice/detail/Caster.hpp
|
125
|
+
- rice/detail/Exception_Handler.hpp
|
126
|
+
- rice/detail/Exception_Handler.ipp
|
127
|
+
- rice/detail/Exception_Handler_defn.hpp
|
128
|
+
- rice/detail/Iterator.hpp
|
129
|
+
- rice/detail/Not_Copyable.hpp
|
130
|
+
- rice/detail/Wrapped_Function.hpp
|
144
131
|
- rice/detail/cfp.hpp
|
145
132
|
- rice/detail/cfp.ipp
|
146
133
|
- rice/detail/check_ruby_type.cpp
|
@@ -154,24 +141,20 @@ files:
|
|
154
141
|
- rice/detail/demangle.cpp
|
155
142
|
- rice/detail/demangle.hpp
|
156
143
|
- rice/detail/env.hpp
|
157
|
-
- rice/detail/Exception_Handler.hpp
|
158
|
-
- rice/detail/Exception_Handler.ipp
|
159
|
-
- rice/detail/Exception_Handler_defn.hpp
|
160
144
|
- rice/detail/from_ruby.hpp
|
161
145
|
- rice/detail/from_ruby.ipp
|
162
|
-
- rice/detail/Iterator.hpp
|
163
146
|
- rice/detail/method_data.cpp
|
164
147
|
- rice/detail/method_data.hpp
|
165
148
|
- rice/detail/mininode.cpp
|
166
149
|
- rice/detail/mininode.hpp
|
167
150
|
- rice/detail/node.hpp
|
168
|
-
- rice/detail/Not_Copyable.hpp
|
169
151
|
- rice/detail/object_call.hpp
|
170
152
|
- rice/detail/object_call.ipp
|
171
153
|
- rice/detail/protect.cpp
|
172
154
|
- rice/detail/protect.hpp
|
173
155
|
- rice/detail/ruby.hpp
|
174
156
|
- rice/detail/ruby_version_code.hpp
|
157
|
+
- rice/detail/ruby_version_code.hpp.in
|
175
158
|
- rice/detail/rubysig.hpp
|
176
159
|
- rice/detail/st.hpp
|
177
160
|
- rice/detail/to_ruby.hpp
|
@@ -180,19 +163,43 @@ files:
|
|
180
163
|
- rice/detail/win32.hpp
|
181
164
|
- rice/detail/wrap_function.hpp
|
182
165
|
- rice/detail/wrap_function.ipp
|
183
|
-
- rice/
|
184
|
-
- rice/
|
166
|
+
- rice/global_function.hpp
|
167
|
+
- rice/global_function.ipp
|
168
|
+
- rice/protect.hpp
|
169
|
+
- rice/protect.ipp
|
170
|
+
- rice/ruby_mark.hpp
|
171
|
+
- rice/ruby_try_catch.hpp
|
172
|
+
- rice/rubypp.rb
|
173
|
+
- rice/to_from_ruby.hpp
|
174
|
+
- rice/to_from_ruby.ipp
|
175
|
+
- rice/to_from_ruby_defn.hpp
|
176
|
+
- ruby.ac
|
177
|
+
- ruby/Makefile.am
|
178
|
+
- ruby/Makefile.in
|
179
|
+
- ruby/lib/Makefile.am
|
180
|
+
- ruby/lib/Makefile.in
|
185
181
|
- ruby/lib/mkmf-rice.rb.in
|
186
182
|
- ruby/lib/version.rb
|
183
|
+
- sample/Makefile.am
|
184
|
+
- sample/Makefile.in
|
187
185
|
- sample/enum/extconf.rb
|
188
186
|
- sample/enum/sample_enum.cpp
|
189
187
|
- sample/enum/test.rb
|
188
|
+
- sample/inheritance/animals.cpp
|
189
|
+
- sample/inheritance/extconf.rb
|
190
|
+
- sample/inheritance/test.rb
|
190
191
|
- sample/map/extconf.rb
|
191
192
|
- sample/map/map.cpp
|
192
193
|
- sample/map/test.rb
|
193
|
-
-
|
194
|
-
-
|
195
|
-
-
|
194
|
+
- test/Makefile.am
|
195
|
+
- test/Makefile.in
|
196
|
+
- test/ext/Makefile.am
|
197
|
+
- test/ext/Makefile.in
|
198
|
+
- test/ext/t1/Foo.hpp
|
199
|
+
- test/ext/t1/extconf.rb
|
200
|
+
- test/ext/t1/t1.cpp
|
201
|
+
- test/ext/t2/extconf.rb
|
202
|
+
- test/ext/t2/t2.cpp
|
196
203
|
- test/test_Address_Registration_Guard.cpp
|
197
204
|
- test/test_Array.cpp
|
198
205
|
- test/test_Builtin_Object.cpp
|
@@ -204,7 +211,6 @@ files:
|
|
204
211
|
- test/test_Director.cpp
|
205
212
|
- test/test_Enum.cpp
|
206
213
|
- test/test_Exception.cpp
|
207
|
-
- test/test_global_functions.cpp
|
208
214
|
- test/test_Hash.cpp
|
209
215
|
- test/test_Identifier.cpp
|
210
216
|
- test/test_Jump_Tag.cpp
|
@@ -216,18 +222,13 @@ files:
|
|
216
222
|
- test/test_Symbol.cpp
|
217
223
|
- test/test_To_From_Ruby.cpp
|
218
224
|
- test/test_VM.cpp
|
225
|
+
- test/test_global_functions.cpp
|
226
|
+
- test/test_rice.rb
|
219
227
|
- test/unittest.cpp
|
220
228
|
- test/unittest.hpp
|
221
|
-
- test/ext/Makefile.am
|
222
|
-
- test/ext/Makefile.in
|
223
|
-
- test/ext/t1/extconf.rb
|
224
|
-
- test/ext/t1/Foo.hpp
|
225
|
-
- test/ext/t1/t1.cpp
|
226
|
-
- test/ext/t2/extconf.rb
|
227
|
-
- test/ext/t2/t2.cpp
|
228
|
-
- test/test_rice.rb
|
229
229
|
homepage: http://rice.rubyforge.org/
|
230
|
-
licenses:
|
230
|
+
licenses:
|
231
|
+
- MIT
|
231
232
|
metadata: {}
|
232
233
|
post_install_message:
|
233
234
|
rdoc_options: []
|
@@ -235,17 +236,17 @@ require_paths:
|
|
235
236
|
- ruby/lib
|
236
237
|
required_ruby_version: !ruby/object:Gem::Requirement
|
237
238
|
requirements:
|
238
|
-
- -
|
239
|
+
- - ">="
|
239
240
|
- !ruby/object:Gem::Version
|
240
241
|
version: '0'
|
241
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
242
243
|
requirements:
|
243
|
-
- -
|
244
|
+
- - ">="
|
244
245
|
- !ruby/object:Gem::Version
|
245
246
|
version: '0'
|
246
247
|
requirements: []
|
247
248
|
rubyforge_project: rice
|
248
|
-
rubygems_version: 2.
|
249
|
+
rubygems_version: 2.2.2
|
249
250
|
signing_key:
|
250
251
|
specification_version: 4
|
251
252
|
summary: Ruby Interface for C++ Extensions
|