summaryrefslogtreecommitdiff
path: root/ruby_1_8_5/wince/varargs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ruby_1_8_5/wince/varargs.h')
-rw-r--r--ruby_1_8_5/wince/varargs.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/ruby_1_8_5/wince/varargs.h b/ruby_1_8_5/wince/varargs.h
new file mode 100644
index 0000000000..2d1d476ccd
--- /dev/null
+++ b/ruby_1_8_5/wince/varargs.h
@@ -0,0 +1,34 @@
+
+#ifndef VARARGS_H
+#define VARARGS_H 1
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#ifndef _VA_LIST_DEFINED
+typedef char *va_list;
+#define _VA_LIST_DEFINED
+#endif
+
+//#ifdef MIPS
+#define va_alist __va_alist, __va_alist2, __va_alist3, __va_alist4
+#define va_dcl int __va_alist, __va_alist2, __va_alist3, __va_alist4;
+#define va_start(list) list = (char *) &__va_alist
+#define va_end(list)
+#define va_arg(list, mode) ((mode *)(list =\
+ (char *) ((((int)list + (__builtin_alignof(mode)<=4?3:7)) &\
+ (__builtin_alignof(mode)<=4?-4:-8))+sizeof(mode))))[-1]
+#else
+#define _INTSIZEOF(n) ( (sizeof(n) + sizeof(int) - 1) & ~(sizeof(int) - 1) )
+#define va_dcl va_list va_alist;
+#define va_start(ap) ap = (va_list)&va_alist
+#define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) )
+#define va_end(ap) ap = (va_list)0
+//#endif
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif
11-12Bundle RBS 1.7.0 (#5105)Soutaro Matsumoto * Bundle RBS 1.7.0 * tool/test-bundled-gems.rb: Use a correct path to Check if rbs is built * tool/test-bundled-gems.rb: lib/rbs/parse.y is no longer created Co-authored-by: Yusuke Endoh <mame@ruby-lang.org> Notes: Merged-By: soutaro <matsumoto@soutaro.com> 2021-11-09Bundle rbs 1.7.0.beta.5Yusuke Endoh Notes: Merged: https://github.com/ruby/ruby/pull/5042 2021-10-05introduce debug.gemKoichi Sasada For the `test-bundled-gems`, make `debug.so` with extconf.rb and `make` command directly because `rake-compiler` assume ruby is installed (but `test-bundled-gems` can run without installation). Notes: Merged: https://github.com/ruby/ruby/pull/4804 2021-08-25tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProfYusuke Endoh Formerly, TypeProf was tested with the latest RBS code during `make test-bundled-gems`. However, when a new version of rbs is released, and if it is incompatible with TypeProf, `make test-bundled-gems` starts failing, which was annoying. By this change, TypeProf is tested with the bundled version of RBS. Notes: Merged: https://github.com/ruby/ruby/pull/4774 2021-08-24Revert "tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProf"Yusuke Endoh This reverts commit 22deda43cb98aa3cee48d0bebbff7c4db1d7652a. It was incomplete. Sorry! 2021-08-24tool/test-bundled-gems.rb: Use the bundled RBS code to test TypeProfYusuke Endoh Formerly, TypeProf was tested with the latest RBS code during `make test-bundled-gems`. However, when a new version of rbs is released, and if it is incompatible with TypeProf, `make test-bundled-gems` starts failing, which was annoying. By this change, TypeProf is tested with the bundled version of RBS. 2021-08-07Group commands on GitHub ActionsNobuyoshi Nakada 2021-06-29tool/test-bundled-gems.rb: Stop tests conflicting with error_highlightYusuke Endoh This hack should be removed after the minitest side is updated. https://github.com/seattlerb/minitest/pull/880 Notes: Merged: https://github.com/ruby/ruby/pull/4586 2020-12-03test-bundled-gems.rb: show failed gems at lastNobuyoshi Nakada 2020-12-02test-bundled-gems: select bundled gems to test by BUNDLED_GEMSNobuyoshi Nakada 2020-10-21extend timeout of rbs test on rbs testsKoichi Sasada 2020-09-23Bundle rbs gem as bundled gems (#3496)Hiroshi SHIBATA * Added rbs as bundled gems * Added the missing dependencies for rbs gem Notes: Merged-By: soutaro <matsumoto@soutaro.com> 2020-07-05Skip comment and empty lines in gems/bundled_gems fileNobuyoshi Nakada 2020-01-19Test bundled gems with timeoutNobuyoshi Nakada 2020-01-13test-bundled-gems.rb: Use real paths for symlinksNobuyoshi Nakada 2019-11-05Do not occupy `ARGV` by XRUBY commandNobuyoshi Nakada Instead run test-bundled-gems.rb by `ENV['RUBY']`, which should be set by runruby.rb. Notes: Merged: https://github.com/ruby/ruby/pull/2646 2019-10-28test-bundled-gems.rb: fixed for out-of-place buildNobuyoshi Nakada 2019-09-29Pass $(XRUBY) to test-bundled-gems.rb since RbConfig.ruby is incorrect for ↵Benoit Daloze miniruby Notes: Merged: https://github.com/ruby/ruby/pull/2503 2019-09-29Move the logic to test bundled gems to Ruby codeBenoit Daloze * Writing shell scripts in a Makefile is very error-prone. * TEST_BUNDLED_GEMS_ALLOW_FAILURES seemed to not work before. Notes: Merged: https://github.com/ruby/ruby/pull/2503