win32ole_error.h: add attributes

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2016-05-08 09:59:37 +00:00
parent d7d64d9147
commit 6cd2c9057a

View File

@ -2,7 +2,7 @@
#define WIN32OLE_ERROR_H 1 #define WIN32OLE_ERROR_H 1
VALUE eWIN32OLERuntimeError; 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); void Init_win32ole_error(void);
#endif #endif