mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* eval_intern.h: remove UNSUPPORTED() macro.
* thread.c: fix to define Continuation methods (they only do rb_notimplement()). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
0b91bd56c2
commit
0eaefd202a
3 changed files with 16 additions and 11 deletions
|
@ -6,15 +6,6 @@
|
|||
(GET_THREAD()->passed_block = \
|
||||
GC_GUARDED_PTR_REF((rb_block_t *)GET_THREAD()->cfp->lfp[0]))
|
||||
|
||||
|
||||
#define UNSUPPORTED(func) \
|
||||
{ \
|
||||
int *a = 0; \
|
||||
fprintf(stderr, "%s", "-- unsupported: " #func "\n"); fflush(stderr); \
|
||||
*a = 0; \
|
||||
rb_bug("unsupported: " #func); \
|
||||
}
|
||||
|
||||
#include "ruby.h"
|
||||
#include "node.h"
|
||||
#include "util.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue