Skip to content

Commit 0e12140

Browse files
committed
patch 8.2.2126: Ruby: missing function prototype
Problem: Ruby: missing function prototype. Solution: Add the prototype.
1 parent 8f1bf2e commit 0e12140

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/if_ruby.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,10 @@ static void (*dll_rb_gc_writebarrier_unprotect)(VALUE obj);
512512
# endif
513513
# endif
514514

515+
# if RUBY_VERSION >= 26
516+
void rb_ary_detransient_stub(VALUE x);
517+
# endif
518+
515519
# if (RUBY_VERSION >= 19) && !defined(PROTO)
516520
# if RUBY_VERSION >= 22
517521
long

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -750,6 +750,8 @@ static char *(features[]) =
750750

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2126,
753755
/**/
754756
2125,
755757
/**/

0 commit comments

Comments
 (0)