[前][次][番号順一覧][スレッド一覧]

ruby-changes:42875

From: nobu <ko1@a...>
Date: Sun, 8 May 2016 18:02:59 +0900 (JST)
Subject: [ruby-changes:42875] nobu:r54949 (trunk): win32ole_error.h: add attributes

nobu	2016-05-08 18:59:37 +0900 (Sun, 08 May 2016)

  New Revision: 54949

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54949

  Log:
    win32ole_error.h: add attributes
    
    * ext/win32ole/win32ole_error.h (ole_raise): add attributes,
      NORETURN and PRINTF_ARGS.

  Modified files:
    trunk/ext/win32ole/win32ole_error.h
Index: ext/win32ole/win32ole_error.h
===================================================================
--- ext/win32ole/win32ole_error.h	(revision 54948)
+++ ext/win32ole/win32ole_error.h	(revision 54949)
@@ -2,7 +2,7 @@ https://github.com/ruby/ruby/blob/trunk/ext/win32ole/win32ole_error.h#L2
 #define WIN32OLE_ERROR_H 1
 
 VALUE eWIN32OLERuntimeError;
-void ole_raise(HRESULT hr, VALUE ecs, const char *fmt, ...);
+NORETURN(PRINTF_ARGS(void ole_raise(HRESULT hr, VALUE ecs, const char *fmt, ...), 3, 4));
 void Init_win32ole_error(void);
 
 #endif

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]