summaryrefslogtreecommitdiff
path: root/iseq.h
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2022-10-18 09:07:11 -0700
committerGitHub <noreply@github.com>2022-10-18 09:07:11 -0700
commite7166c9bb78e20531a9cbb372e460ecd12603b5e (patch)
treed22156bfa6623b1a4d74d57efcf2ff6f1cc4799a /iseq.h
parentd67b6310d3e529b4d4a56ba8d850aa5bccfb83b5 (diff)
Allow passing a Rust closure to rb_iseq_callback (#6575)
Notes
Notes: Merged-By: k0kubun <takashikkbn@gmail.com>
Diffstat (limited to 'iseq.h')
-rw-r--r--iseq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.h b/iseq.h
index d771874c2f..e5ab4870e8 100644
--- a/iseq.h
+++ b/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[];