Searched refs:RSTRUCT_CONST_PTR (Results 1 – 6 of 6) sorted by relevance
627 rb_mem_clear((VALUE *)RSTRUCT_CONST_PTR(self), n); in rb_struct_initialize_m()644 rb_mem_clear((VALUE *)RSTRUCT_CONST_PTR(self)+argc, n-argc); in rb_struct_initialize_m()897 return rb_ary_new4(RSTRUCT_LEN(s), RSTRUCT_CONST_PTR(s)); in rb_struct_to_a()
903 #define RSTRUCT_CONST_PTR(st) rb_struct_const_ptr(st) macro904 #define RSTRUCT_PTR(st) ((VALUE *)RSTRUCT_CONST_PTR(RB_OBJ_WB_UNPROTECT_FOR(STRUCT, st)))905 #define RSTRUCT_SET(st, idx, v) RB_OBJ_WRITE(st, &RSTRUCT_CONST_PTR(st)[idx], (v))906 #define RSTRUCT_GET(st, idx) (RSTRUCT_CONST_PTR(st)[idx])
5242 const VALUE *p = RSTRUCT_CONST_PTR(tm); in tm_to_time()5271 const VALUE *p = RSTRUCT_CONST_PTR(tm); in tm_to_s()
4834 const VALUE * const ptr = RSTRUCT_CONST_PTR(obj); in gc_mark_children()
10152 use `RSTRUCT_CONST_PTR` carefully.10154 * struct.c: should not use `RSTRUCT_CONST_PTR` with method dispatch
4806 RSTRUCT_RAWPTR() is also renamed to RSTRUCT_CONST_PTR()