[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by
From: |
dak |
Subject: |
Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden) |
Date: |
Mon, 13 Apr 2020 14:33:28 -0700 |
On 2020/04/13 21:13:42, hanwenn wrote:
> >
> > You need to sort the C++ structures potentially accessed by the GC
hook into a
> > Preinit class (grep for Preinit for existing uses) and inherit from
that
> before
> > inheriting from whatever operates the Smob. Then C++ guarantees an
> > initialisation order consistent with GC hook operation.
>
> I read the comment about this, but this only applies to derived
classes, right?
> This is set in the Grob class, which is the base class, so the vector
is init'd
> before smobify_self is called.
think-think-think-think... I think you are correct.
https://codereview.appspot.com/575990043/
- Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), jonas . hahnfeld, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), hanwenn, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), jonas . hahnfeld, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), hanwenn, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), hanwenn, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), hanwenn, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), dak, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), dak, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), hanwenn, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), hanwenn, 2020/04/13
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden),
dak <=
- Re: Rewrite Mutable_properties based on vector<SCM> (issue 575990043 by address@hidden), dak, 2020/04/14