mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Allow passing a Rust closure to rb_iseq_callback (#6575)
This commit is contained in:
parent
d67b6310d3
commit
e7166c9bb7
Notes:
git
2022-10-18 16:07:41 +00:00
Merged-By: k0kubun <takashikkbn@gmail.com>
8 changed files with 33 additions and 16 deletions
2
iseq.h
2
iseq.h
|
@ -31,7 +31,7 @@ RUBY_EXTERN const int ruby_api_version[];
|
|||
typedef struct rb_iseq_struct rb_iseq_t;
|
||||
#define rb_iseq_t rb_iseq_t
|
||||
#endif
|
||||
typedef void (*rb_iseq_callback)(const rb_iseq_t *);
|
||||
typedef void (*rb_iseq_callback)(const rb_iseq_t *, void *);
|
||||
|
||||
extern const ID rb_iseq_shared_exc_local_tbl[];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue