summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-08 09:59:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-05-08 09:59:37 +0000
commit6cd2c9057ad06957d19ca2b455faf3d2ea1f6a0c (patch)
tree6e51aaf3e40dadb958160d0a4b20bdc63ce3a3e3 /ext
parentd7d64d914780bb928d505835fd5229cba6e41039 (diff)
downloadruby-6cd2c9057ad06957d19ca2b455faf3d2ea1f6a0c.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')
-rw-r--r--ext/win32ole/win32ole_error.h2
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