mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/refinement/refinement.c: include ruby/ruby.h instead of the
declaration of rb_warn(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
3bbffbc7dd
commit
c36d15f206
2 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Fri Dec 7 23:42:11 2012 Shugo Maeda <shugo@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/refinement/refinement.c: include ruby/ruby.h instead of the
|
||||||
|
declaration of rb_warn().
|
||||||
|
|
||||||
Fri Dec 7 16:07:00 2012 Zachary Scott <zachary@zacharyscott.net>
|
Fri Dec 7 16:07:00 2012 Zachary Scott <zachary@zacharyscott.net>
|
||||||
|
|
||||||
* doc/etc.rd: Removed stale documentation file
|
* doc/etc.rd: Removed stale documentation file
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
|
#include "ruby/ruby.h"
|
||||||
|
|
||||||
void ruby_Init_refinement(void);
|
void ruby_Init_refinement(void);
|
||||||
#ifdef __GNUC__
|
|
||||||
#define PRINTF_ARGS(decl, string_index, first_to_check) \
|
|
||||||
decl __attribute__((format(printf, string_index, first_to_check)))
|
|
||||||
#else
|
|
||||||
#define PRINTF_ARGS(decl, string_index, first_to_check) decl
|
|
||||||
#endif
|
|
||||||
PRINTF_ARGS(void rb_warn(const char*, ...), 1, 2);
|
|
||||||
|
|
||||||
void
|
void
|
||||||
Init_refinement(void)
|
Init_refinement(void)
|
||||||
|
|
Loading…
Reference in a new issue