[pypy-dev] Not sure what lltype to use in this case

2018-03-09 Thread Timothy Baldridge
I have a rather strange use-case for a data type in a rpython interpreter. What I need is a raw malloc, but with a custom GC hook. I understand how to setup the GC hook, but what I can't figure out is what lltype to use with malloc. This type will inherit directly from object so I don't need any po

Re: [pypy-dev] Not sure what lltype to use in this case

2018-03-09 Thread Armin Rigo
Hi Timothy, On 10 March 2018 at 01:26, Timothy Baldridge wrote: > I have a rather strange use-case for a data type in a rpython interpreter. > What I need is a raw malloc, but with a custom GC hook. GC hooks make no sense with non-GC structures. Try to describe more what you're trying to achiev