mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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:
parent
d7d64d9147
commit
6cd2c9057a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue