summaryrefslogtreecommitdiff
path: root/ext/-test-/cxxanyargs/cxxanyargs.cpp
AgeCommit message (Collapse)Author
2020-08-21ext/-test-/cxxanyargs: suppress SunPro warning卜部昌平
I found a way to suppress particular kind of warnings via pragmas. Notes: Merged: https://github.com/ruby/ruby/pull/3433
2020-04-10ext/-test-/cxxanyargs: add #pragma for icc.卜部昌平
Notes: Merged: https://github.com/ruby/ruby/pull/3011
2020-03-28The last argument of rb_rescue2() should always be (VALUE)0Benoit Daloze
* Otherwise it might segfault, since C has no idea of the type of varargs, and the C code must assume all varargs are VALUE.
2020-02-01fix delete unnecessary return卜部昌平
Was my mistake to put return here.
2020-01-31support C++ std::nullptr_t卜部昌平
C++ keyword `nullptr` represents a null pointer (note also that NULL is an integer in C++ due to its design flaw). Its type is `std::nullptr_t`, defined in <cstddef> standard header. Why not support it when the backend implementation can take a null pointer as an argument.
2020-01-28fix rb_define_global_function to take const VALUE*卜部昌平
It was unable for rb_define_global_function to take VALUE(*)(int argc, const VLAUE *argv, VALUE self) -style function. Test added.
2020-01-28add test for rb_define_global_function卜部昌平
was missing.
2020-01-28add test for rb_define_method_id卜部昌平
was missing.
2020-01-28improved support for rb_f_notimplement卜部昌平
rb_f_notimplement should be accepted for all possible arities. Test provided for that.
2019-10-12Moved RB_METHOD_DEFINITION_DECL to intern.hNobuyoshi Nakada
This macro is used here before defined in ruby.h.
2019-09-20Fix for explicit cast without RUBY_METHOD_FUNCNobuyoshi Nakada
2019-09-20Check various method defitions in C++Nobuyoshi Nakada
2019-09-09static member variables must explictly be initialized卜部昌平
These variables then get their room for storage. See also https://github.com/ruby/ruby/runs/214042030 Notes: Merged: https://github.com/ruby/ruby/pull/2434
2019-09-09Revert "save committers' weekend from CI failures"卜部昌平
This reverts commit 53d21087da078cf999cc4757b03b2ff0fab4c2cf. Notes: Merged: https://github.com/ruby/ruby/pull/2434
2019-09-06save committers' weekend from CI failures卜部昌平
Kill the failing tests.
2019-09-06avoid name mangling卜部昌平
Otherwise the dynamic linker cannot find this function. See also https://ci.appveyor.com/project/ruby/ruby/builds/27224231/job/4pg6lxlsnsjotu2l
2019-09-06nullptr is a C++11ism.卜部昌平
Should use numeric 0 for maximum portability. See also https://travis-ci.org/ruby/ruby/jobs/581543798
2019-09-06fix Visual Studio compilation error卜部昌平
See also https://github.com/ruby/ruby/runs/213964487
2019-09-06add test for cxxanyargs.hpp卜部昌平