Mercurial > vim
comparison src/if_ruby.c @ 27006:686fa1164724 v8.2.4032
patch 8.2.4032: ATTRIBUTE_NORETURN is not needed
Commit: https://github.com/vim/vim/commit/e12406526a24768e6121450112eb2f9f92445ac5
Author: ichizok <gclient.gaap@gmail.com>
Date: Fri Jan 7 20:01:07 2022 +0000
patch 8.2.4032: ATTRIBUTE_NORETURN is not needed
Problem: ATTRIBUTE_NORETURN is not needed.
Solution: Use NORETURN(). (Ozaki Kiichi, closes https://github.com/vim/vim/issues/9487)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Jan 2022 21:15:03 +0100 |
parents | d02d40f0261c |
children | 41a940219183 |
comparison
equal
deleted
inserted
replaced
27005:c0647304fb69 | 27006:686fa1164724 |
---|---|
500 # if RUBY_VERSION >= 18 | 500 # if RUBY_VERSION >= 18 |
501 static int (*dll_rb_w32_snprintf)(char*, size_t, const char*, ...); | 501 static int (*dll_rb_w32_snprintf)(char*, size_t, const char*, ...); |
502 # endif | 502 # endif |
503 # endif | 503 # endif |
504 # if RUBY_VERSION >= 31 | 504 # if RUBY_VERSION >= 31 |
505 static void (*dll_rb_unexpected_type) (VALUE, int) ATTRIBUTE_NORETURN; | 505 # ifdef _MSC_VER |
506 static void (*dll_rb_unexpected_type) (VALUE, int); | |
507 # else | |
508 NORETURN(static void (*dll_rb_unexpected_type) (VALUE, int)); | |
509 # endif | |
506 # endif | 510 # endif |
507 # if RUBY_VERSION >= 18 | 511 # if RUBY_VERSION >= 18 |
508 static char * (*dll_rb_string_value_ptr) (volatile VALUE*); | 512 static char * (*dll_rb_string_value_ptr) (volatile VALUE*); |
509 static VALUE (*dll_rb_float_new) (double); | 513 static VALUE (*dll_rb_float_new) (double); |
510 static VALUE (*dll_rb_ary_new) (void); | 514 static VALUE (*dll_rb_ary_new) (void); |