diff options
author | yui-knk <[email protected]> | 2024-04-05 00:04:01 +0900 |
---|---|---|
committer | Yuichiro Kaneko <[email protected]> | 2024-04-05 08:22:58 +0900 |
commit | 39afab6083976937b52f7a826c7d3f30fcb4e3b3 (patch) | |
tree | ca75a3ddc4283dea338e4fc04207e133da25227f | |
parent | 440c63df31eb2283019a991d1e6fcd999490009a (diff) |
Remove unused macros from node.c
-rw-r--r-- | node.c | 11 |
1 files changed, 0 insertions, 11 deletions
@@ -48,7 +48,6 @@ init_node_buffer_list(node_buffer_list_t * nb, node_buffer_elem_t *head, void *x #ifdef UNIVERSAL_PARSER #define ruby_xmalloc config->malloc -#define Qnil config->qnil #endif #ifdef UNIVERSAL_PARSER @@ -81,19 +80,9 @@ rb_node_buffer_new(void) #define ruby_xmalloc ast->node_buffer->config->malloc #undef xfree #define xfree ast->node_buffer->config->free -#define rb_ident_hash_new ast->node_buffer->config->ident_hash_new #define rb_xmalloc_mul_add ast->node_buffer->config->xmalloc_mul_add #define ruby_xrealloc(var,size) (ast->node_buffer->config->realloc_n((void *)var, 1, size)) -#define rb_gc_mark ast->node_buffer->config->gc_mark -#define rb_gc_location ast->node_buffer->config->gc_location #define rb_gc_mark_and_move ast->node_buffer->config->gc_mark_and_move -#undef Qnil -#define Qnil ast->node_buffer->config->qnil -#define Qtrue ast->node_buffer->config->qtrue -#define NIL_P ast->node_buffer->config->nil_p -#define rb_hash_aset ast->node_buffer->config->hash_aset -#define rb_hash_delete ast->node_buffer->config->hash_delete -#define RB_OBJ_WRITE(old, slot, young) ast->node_buffer->config->obj_write((VALUE)(old), (VALUE *)(slot), (VALUE)(young)) #endif typedef void node_itr_t(rb_ast_t *ast, void *ctx, NODE *node); |