diff options
| author | HASUMI Hitoshi <hasumikin@gmail.com> | 2024-02-27 14:25:22 +0900 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2024-03-04 16:40:23 +0000 |
| commit | c4bd6da2988ecdf3e6d00be78e58a4eba6192bed (patch) | |
| tree | f5cc0976ae7ff16bac9913f02ec4d32adef41160 /test | |
| parent | 61ea202f8b10060e000f79a936e5e608eacb50ee (diff) | |
[ruby/prism] Make alloc interface replaceable
- Add `x` prefix to malloc, calloc, realloc, and free
(eg: malloc -> xmalloc)
- By default, they are replaced with stdlib's functions at build
- You can use custom functions by defining `PRISM_CUSTOM_ALLOCATOR` macro
https://github.com/ruby/prism/commit/7a878af619
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
