diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 09:59:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-05-08 09:59:37 +0000 |
commit | 388024425e0a9dff8b1e59e6f63155fb3c0729ab (patch) | |
tree | 6e51aaf3e40dadb958160d0a4b20bdc63ce3a3e3 /ext/win32ole/win32ole_error.h | |
parent | d098538c7aedfb4c71f990b69ef3d6d951844183 (diff) | |
download | ruby-388024425e0a9dff8b1e59e6f63155fb3c0729ab.tar.gz |
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
Diffstat (limited to 'ext/win32ole/win32ole_error.h')
-rw-r--r-- | ext/win32ole/win32ole_error.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/win32ole/win32ole_error.h b/ext/win32ole/win32ole_error.h index 5359646ff1..e0eee0ecf9 100644 --- a/ext/win32ole/win32ole_error.h +++ b/ext/win32ole/win32ole_error.h @@ -2,7 +2,7 @@ #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 |