summaryrefslogtreecommitdiff
path: root/builtin.h
diff options
context:
space:
mode:
authorTakashi Kokubun <[email protected]>2024-01-23 12:09:57 -0800
committerGitHub <[email protected]>2024-01-23 20:09:57 +0000
commitc84237f9531aed3b204d3fdacc2dd9d2bd4c7d81 (patch)
tree924ec7260333bb75d8780e76325d5dd0303e0729 /builtin.h
parent27c1dd8634d34bfe3592151d66b410f28ca749ce (diff)
Rewrite Array#each in Ruby using Primitive (#9533)
Diffstat (limited to 'builtin.h')
-rw-r--r--builtin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin.h b/builtin.h
index 85fd1a009a..24aa7c2fdb 100644
--- a/builtin.h
+++ b/builtin.h
@@ -106,6 +106,8 @@ rb_vm_lvar(rb_execution_context_t *ec, int index)
#endif
}
+#define LOCAL_PTR(local) local ## __ptr
+
// dump/load
struct builtin_binary {